comment out latest changes - needs more testing
This commit is contained in:
parent
ed3b5f8251
commit
a80057fec7
@ -975,7 +975,7 @@ function file_activity($channel_id, $object, $allow_cid, $allow_gid, $deny_cid,
|
|||||||
//do not send activity for folders for now
|
//do not send activity for folders for now
|
||||||
if($is_dir)
|
if($is_dir)
|
||||||
return;
|
return;
|
||||||
|
/*
|
||||||
//check for recursive perms if we are in a folder
|
//check for recursive perms if we are in a folder
|
||||||
if($object['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'];
|
$allow_gid = $r_perms['allow_gid'];
|
||||||
$deny_cid = $r_perms['deny_cid'];
|
$deny_cid = $r_perms['deny_cid'];
|
||||||
$deny_gid = $r_perms['deny_gid'];
|
$deny_gid = $r_perms['deny_gid'];
|
||||||
/*
|
|
||||||
if(!$allow_gid && !$allow_cid) {
|
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);
|
notice( t('Allowed permissions for this file are not recursive. None of your allowed contacts will have access to this file.') . EOL);
|
||||||
$verb = 'update';
|
$verb = 'update';
|
||||||
$update = true;
|
$update = true;
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
}
|
|
||||||
|
|
||||||
|
}
|
||||||
|
*/
|
||||||
require_once('include/items.php');
|
require_once('include/items.php');
|
||||||
|
|
||||||
$poster = get_app()->get_observer();
|
$poster = get_app()->get_observer();
|
||||||
|
Reference in New Issue
Block a user