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']) : '');