]> git.mxchange.org Git - friendica.git/commitdiff
Merge remote-tracking branch 'upstream/develop' into item-permissions
authorMichael <heluecht@pirati.ca>
Sat, 20 Jan 2018 19:51:23 +0000 (19:51 +0000)
committerMichael <heluecht@pirati.ca>
Sat, 20 Jan 2018 19:51:23 +0000 (19:51 +0000)
1  2 
mod/item.php

diff --cc mod/item.php
index bb5b0f1d764b7bed1fb32e1f7ea9b1848c97ccd6,a032e34989a5574f190baef773a474a83cd55ea8..ecf4a8395464216497c603d7a361238cc10f1a1b
@@@ -50,10 -51,11 +51,11 @@@ function item_post(App $a) 
                killme();
        }
  
-       call_hooks('post_local_start', $_REQUEST);
+       Addon::callHooks('post_local_start', $_REQUEST);
 -      // logger('postinput ' . file_get_contents('php://input'));
++
        logger('postvars ' . print_r($_REQUEST,true), LOGGER_DATA);
  
 -      $api_source = x($_REQUEST, 'api_source') && $_REQUEST['api_source'];
 +      $api_source = defaults($_REQUEST, 'api_source', false);
  
        $message_id = ((x($_REQUEST, 'message_id') && $api_source) ? strip_tags($_REQUEST['message_id']) : '');