diff --git a/inc/mod/pages.php b/inc/mod/pages.php index 1e8b47f4..219141b2 100644 --- a/inc/mod/pages.php +++ b/inc/mod/pages.php @@ -1189,9 +1189,6 @@ function mod_bans_json(Context $ctx) { if (!hasPermission($config['mod']['ban'])) error($config['error']['noaccess']); - // Compress the json for faster loads - if (substr_count($_SERVER['HTTP_ACCEPT_ENCODING'], 'gzip')) ob_start("ob_gzhandler"); - Bans::stream_json(false, !hasPermission($config['mod']['view_banstaff']), $mod['boards']); }