mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-25 16:00:22 +01:00
Merge vichan
This commit is contained in:
commit
a94f527bd3
@ -24,10 +24,8 @@
|
||||
}
|
||||
|
||||
public static function gen_json($settings) {
|
||||
global $config, $mod;
|
||||
|
||||
ob_start();
|
||||
Bans::stream_json(false, false, !hasPermission($config['mod']['view_banstaff']), $mod['boards']);
|
||||
Bans::stream_json(false, true, true, array());
|
||||
$out = ob_get_contents();
|
||||
ob_end_clean();
|
||||
return $out;
|
||||
|
Loading…
Reference in New Issue
Block a user