forked from leftypol/leftypol
pages.php: remove obsolete parameter from json bans stream
This commit is contained in:
parent
29b81517a9
commit
dc6c33d095
1 changed files with 1 additions and 1 deletions
|
|
@ -1192,7 +1192,7 @@ function mod_bans_json(Context $ctx) {
|
|||
// Compress the json for faster loads
|
||||
if (substr_count($_SERVER['HTTP_ACCEPT_ENCODING'], 'gzip')) ob_start("ob_gzhandler");
|
||||
|
||||
Bans::stream_json(false, false, !hasPermission($config['mod']['view_banstaff']), $mod['boards']);
|
||||
Bans::stream_json(false, !hasPermission($config['mod']['view_banstaff']), $mod['boards']);
|
||||
}
|
||||
|
||||
function mod_ban_appeals(Context $ctx) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue