Skip to content

Commit

Permalink
lel, this one will do
Browse files Browse the repository at this point in the history
  • Loading branch information
czaks committed Oct 8, 2014
1 parent 7719ad3 commit 948695e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions templates/themes/public_banlist/theme.php
Expand Up @@ -24,10 +24,8 @@ public static function build($action, $settings) {
}

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;
Expand Down

0 comments on commit 948695e

Please sign in to comment.