when an admin censors a channel, we only need to notify the directory and not all the connections.

This commit is contained in:
friendica
2014-06-22 17:26:05 -07:00
parent 1dacfb375e
commit eb31d61a26
2 changed files with 14 additions and 6 deletions

View File

@@ -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)) );
}