diff --git a/misc/update/tmux/bin/update_groups.php b/misc/update/tmux/bin/update_groups.php index 308cfaa46..48d325b15 100644 --- a/misc/update/tmux/bin/update_groups.php +++ b/misc/update/tmux/bin/update_groups.php @@ -19,13 +19,13 @@ if ($nntp->doConnect() !== true) { exit(ColorCLI::error('Unable to connect to usenet.')); } -ColorCLI::doEcho(ColorCLI::header('Getting first/last for all your active groups.'), true); +ColorCLI::doEcho(ColorCLI::header('Getting first/last for all your active groups.')); $data = $nntp->getGroups(); if ($nntp->isError($data)) { exit(ColorCLI::error('Failed to getGroups() from nntp server.')); } -ColorCLI::doEcho(ColorCLI::header('Inserting new values into short_groups table.'), true); +ColorCLI::doEcho(ColorCLI::header('Inserting new values into short_groups table.')); DB::unprepared('TRUNCATE TABLE short_groups'); DB::commit(); @@ -43,10 +43,10 @@ foreach ($data as $newgroup) { 'updated' => Carbon::now(), ] ); - ColorCLI::doEcho(ColorCLI::primary('Updated '.$newgroup['group']), true); + ColorCLI::doEcho(ColorCLI::primary('Updated '.$newgroup['group'])); } } -ColorCLI::doEcho(ColorCLI::header('Running time: '.$consoleTools->convertTimer(time() - $start)), true); +ColorCLI::doEcho(ColorCLI::header('Running time: '.$consoleTools->convertTimer(time() - $start))); function myInArray($array, $value, $key) {