From a80057fec7980c54df73626be9af3e08f03f5ce7 Mon Sep 17 00:00:00 2001 From: marijus Date: Mon, 2 Feb 2015 17:45:30 +0100 Subject: comment out latest changes - needs more testing --- include/attach.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include/attach.php') diff --git a/include/attach.php b/include/attach.php index 5f9d38115..7ebc4489d 100644 --- a/include/attach.php +++ b/include/attach.php @@ -975,7 +975,7 @@ function file_activity($channel_id, $object, $allow_cid, $allow_gid, $deny_cid, //do not send activity for folders for now if($is_dir) return; - +/* //check for recursive perms if we are in a folder if($object['folder']) { @@ -987,15 +987,15 @@ function file_activity($channel_id, $object, $allow_cid, $allow_gid, $deny_cid, $allow_gid = $r_perms['allow_gid']; $deny_cid = $r_perms['deny_cid']; $deny_gid = $r_perms['deny_gid']; -/* + if(!$allow_gid && !$allow_cid) { notice( t('Allowed permissions for this file are not recursive. None of your allowed contacts will have access to this file.') . EOL); $verb = 'update'; $update = true; } -*/ - } + } +*/ require_once('include/items.php'); $poster = get_app()->get_observer(); -- cgit v1.2.3