forked from leftypol/leftypol
public_banlist: remove obsolete parameter from json stream
This commit is contained in:
parent
3a8588ab7f
commit
29b81517a9
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ class PBanlist {
|
||||||
|
|
||||||
public static function gen_json($settings) {
|
public static function gen_json($settings) {
|
||||||
\ob_start();
|
\ob_start();
|
||||||
Bans::stream_json(false, true, true, [], true);
|
Bans::stream_json(true, true, [], true);
|
||||||
$out = \ob_get_contents();
|
$out = \ob_get_contents();
|
||||||
\ob_end_clean();
|
\ob_end_clean();
|
||||||
return $out;
|
return $out;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue