when an admin censors a channel, we only need to notify the directory and not all the connections.
This commit is contained in:
@@ -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)) );
|
||||
}
|
||||
|
Reference in New Issue
Block a user