aboutsummaryrefslogtreecommitdiffstats
path: root/mod/admin.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-06-22 17:26:05 -0700
committerfriendica <info@friendica.com>2014-06-22 17:26:05 -0700
commiteb31d61a269774c6552e48b98353aaa109c545ce (patch)
tree8992e8160125879dd960a0e4d6fc7cd8f7b62af8 /mod/admin.php
parent1dacfb375eac1586495c34110275e70215aeea32 (diff)
downloadvolse-hubzilla-eb31d61a269774c6552e48b98353aaa109c545ce.tar.gz
volse-hubzilla-eb31d61a269774c6552e48b98353aaa109c545ce.tar.bz2
volse-hubzilla-eb31d61a269774c6552e48b98353aaa109c545ce.zip
when an admin censors a channel, we only need to notify the directory and not all the connections.
Diffstat (limited to 'mod/admin.php')
-rw-r--r--mod/admin.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/mod/admin.php b/mod/admin.php
index 37a147df6..464edddd4 100644
--- a/mod/admin.php
+++ b/mod/admin.php
@@ -794,6 +794,7 @@ function admin_page_channels_post(&$a){
intval(PAGE_CENSORED),
intval( $uid )
);
+ proc_run('php','include/directory.php',$uid,'nopush');
}
notice( sprintf( tt("%s channel censored/uncensored", "%s channelss censored/uncensored", count($channels)), count($channels)) );
}