diff options
author | Mario Vavti <mario@mariovavti.com> | 2015-04-12 13:13:22 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2015-04-12 13:13:22 +0200 |
commit | 7c8b9397ae8fc83ce96d9905992f40e6fde4663a (patch) | |
tree | f1ac493549157ab951bd4642d7e291ae2d78de04 /include | |
parent | e64de798b578e2c6ed1856749fb8448dcc6ea080 (diff) | |
download | volse-hubzilla-7c8b9397ae8fc83ce96d9905992f40e6fde4663a.tar.gz volse-hubzilla-7c8b9397ae8fc83ce96d9905992f40e6fde4663a.tar.bz2 volse-hubzilla-7c8b9397ae8fc83ce96d9905992f40e6fde4663a.zip |
reverse file activity logic
Diffstat (limited to 'include')
-rw-r--r-- | include/attach.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/attach.php b/include/attach.php index 415859b39..2a72c7819 100644 --- a/include/attach.php +++ b/include/attach.php @@ -985,7 +985,7 @@ function pipe_streams($in, $out) { * @param string $verb * @param boolean $no_activity */ -function file_activity($channel_id, $object, $allow_cid, $allow_gid, $deny_cid, $deny_gid, $verb, $no_activity) { +function file_activity($channel_id, $object, $allow_cid, $allow_gid, $deny_cid, $deny_gid, $verb, $notify) { require_once('include/items.php'); @@ -1107,7 +1107,7 @@ function file_activity($channel_id, $object, $allow_cid, $allow_gid, $deny_cid, //notice( t('File activity updated') . EOL); } - if($no_activity) { + if(! $notify) { return; } |