forked from leftypol/leftypol
lel, this one will do
This commit is contained in:
parent
7719ad3e81
commit
948695e73c
1 changed files with 1 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue