comment out latest changes - needs more testing

This commit is contained in:
marijus 2015-02-02 17:45:30 +01:00
parent ed3b5f8251
commit a80057fec7

View File

@ -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();