aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Filestorage.php
diff options
context:
space:
mode:
authorredmatrix <mike@macgirvin.com>2016-10-01 16:01:22 -0700
committerredmatrix <mike@macgirvin.com>2016-10-01 16:01:22 -0700
commite1df151d9ba7c260861b4287324efc81226baf2c (patch)
tree5ccc7b513566afd57f1871122ac90e549287bc63 /Zotlabs/Module/Filestorage.php
parenta2ccfc1e50e71333e255aa40efeb3d1e3403a318 (diff)
downloadvolse-hubzilla-e1df151d9ba7c260861b4287324efc81226baf2c.tar.gz
volse-hubzilla-e1df151d9ba7c260861b4287324efc81226baf2c.tar.bz2
volse-hubzilla-e1df151d9ba7c260861b4287324efc81226baf2c.zip
sync cloud storage permission changes (issue #538 continued)
Diffstat (limited to 'Zotlabs/Module/Filestorage.php')
-rw-r--r--Zotlabs/Module/Filestorage.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Module/Filestorage.php b/Zotlabs/Module/Filestorage.php
index a401f4822..8b8620d6f 100644
--- a/Zotlabs/Module/Filestorage.php
+++ b/Zotlabs/Module/Filestorage.php
@@ -44,14 +44,14 @@ class Filestorage extends \Zotlabs\Web\Controller {
//get the object before permissions change so we can catch eventual former allowed members
$object = get_file_activity_object($channel_id, $resource, $cloudPath);
- attach_change_permissions($channel_id, $resource, $x['allow_cid'], $x['allow_gid'], $x['deny_cid'], $x['deny_gid'], $recurse);
+ attach_change_permissions($channel_id, $resource, $x['allow_cid'], $x['allow_gid'], $x['deny_cid'], $x['deny_gid'], $recurse, true);
file_activity($channel_id, $object, $x['allow_cid'], $x['allow_gid'], $x['deny_cid'], $x['deny_gid'], 'post', $notify);
goaway($cloudPath);
}
- function get() {
+ function get() {
if(argc() > 1)
$which = argv(1);