static App

This commit is contained in:
redmatrix
2016-03-31 16:06:03 -07:00
parent 256c228efd
commit 9abd95fad3
231 changed files with 52688 additions and 52684 deletions
+2 -2
View File
@@ -192,7 +192,7 @@ function item_post(&$a) {
}
if(! $observer)
$observer = $a->get_observer();
$observer = App::get_observer();
if($parent) {
logger('mod_item: item_post parent=' . $parent);
@@ -251,7 +251,7 @@ function item_post(&$a) {
if(! $channel) {
if($uid && $uid == $profile_uid) {
$channel = $a->get_channel();
$channel = App::get_channel();
}
else {
// posting as yourself but not necessarily to a channel you control