aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authormarijus <mario@mariovavti.com>2015-02-02 17:45:30 +0100
committermarijus <mario@mariovavti.com>2015-02-02 17:45:30 +0100
commita80057fec7980c54df73626be9af3e08f03f5ce7 (patch)
tree928730725328330177b6f05f0b9f0669e4237385 /include
parented3b5f8251fa1534c967e756529aa397cc78fb3a (diff)
downloadvolse-hubzilla-a80057fec7980c54df73626be9af3e08f03f5ce7.tar.gz
volse-hubzilla-a80057fec7980c54df73626be9af3e08f03f5ce7.tar.bz2
volse-hubzilla-a80057fec7980c54df73626be9af3e08f03f5ce7.zip
comment out latest changes - needs more testing
Diffstat (limited to 'include')
-rw-r--r--include/attach.php8
1 files changed, 4 insertions, 4 deletions
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();