diff options
author | friendica <info@friendica.com> | 2013-09-02 16:01:29 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-09-02 16:01:29 -0700 |
commit | 7c775db9d6b9dc68bc05cded7ab93357aeeb9c3f (patch) | |
tree | b11ac8cfaaec527f8c78a128c6382ef75a405a5a /mod | |
parent | c8461e703884735a604fb405d3db43f68cf5909c (diff) | |
download | volse-hubzilla-7c775db9d6b9dc68bc05cded7ab93357aeeb9c3f.tar.gz volse-hubzilla-7c775db9d6b9dc68bc05cded7ab93357aeeb9c3f.tar.bz2 volse-hubzilla-7c775db9d6b9dc68bc05cded7ab93357aeeb9c3f.zip |
fix webpage storage
Diffstat (limited to 'mod')
-rw-r--r-- | mod/item.php | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/mod/item.php b/mod/item.php index 50644607d..ce484999b 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); @@ -320,7 +320,6 @@ function item_post(&$a) { $body = z_input_filter($profile_uid,$body,$mimetype); } -logger('body: ' . $body); if($mimetype === 'text/bbcode') { @@ -368,11 +367,9 @@ logger('body: ' . $body); */ if(! $preview) { - fix_attached_photo_permissions($profile_uid,$owner_xchan['xchan_hash'],$body, - $str_contact_allow,$str_group_allow,$str_contact_deny,$str_group_deny); + fix_attached_photo_permissions($profile_uid,$owner_xchan['xchan_hash'],$body,$str_contact_allow,$str_group_allow,$str_contact_deny,$str_group_deny); - fix_attached_file_permissions($channel,$observer['xchan_hash'],$body, - $str_contact_allow,$str_group_allow,$str_contact_deny,$str_group_deny); + fix_attached_file_permissions($channel,$observer['xchan_hash'],$body,$str_contact_allow,$str_group_allow,$str_contact_deny,$str_group_deny); } @@ -487,7 +484,6 @@ logger('body: ' . $body); } } - $item_flags = ITEM_UNSEEN; $item_restrict = ITEM_VISIBLE; |