aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2015-04-12 13:13:22 +0200
committerMario Vavti <mario@mariovavti.com>2015-04-12 13:13:22 +0200
commit7c8b9397ae8fc83ce96d9905992f40e6fde4663a (patch)
treef1ac493549157ab951bd4642d7e291ae2d78de04 /include
parente64de798b578e2c6ed1856749fb8448dcc6ea080 (diff)
downloadvolse-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.php4
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;
}