From eadf5121d0f047ea297b04ce40ac51a9aa3d18dc Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 14 Feb 2014 12:39:15 -0800 Subject: rev update and a minor fix (missing param) to force_refresh --- mod/item.php | 2 +- mod/post.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'mod') diff --git a/mod/item.php b/mod/item.php index 173198f4a..48f85f692 100644 --- a/mod/item.php +++ b/mod/item.php @@ -44,7 +44,7 @@ function item_post(&$a) { call_hooks('post_local_start', $_REQUEST); - // logger('postvars ' . print_r($_REQUEST,true), LOGGER_DATA); +// logger('postvars ' . print_r($_REQUEST,true), LOGGER_DATA); $api_source = ((x($_REQUEST,'api_source') && $_REQUEST['api_source']) ? true : false); diff --git a/mod/post.php b/mod/post.php index 919f09a35..6c57bfa0d 100644 --- a/mod/post.php +++ b/mod/post.php @@ -828,7 +828,7 @@ function post_post(&$a) { 'xchan_guid' => $sender['guid'], 'xchan_guid_sig' => $sender['guid_sig'], 'hubloc_url' => $sender['url'] - ),null); + ),null,(($msgtype === 'force_refresh') ? true : false)); } $ret['success'] = true; json_return_and_die($ret); -- cgit v1.2.3