mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-31 10:18:55 +00:00
Fix maintenance mode check in UpdateNNTmux console command
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
2019-03-04 DariusIII
|
||||
* Fix: Fix maintenance mode check in UpdateNNTmux console command
|
||||
* Chg: Update voku/simple_html_dom (4.3.1 => 4.3.2)
|
||||
2019-03-03 DariusIII
|
||||
* Chg: Update symfony components remove unused trait
|
||||
|
||||
@@ -4,6 +4,7 @@ namespace App\Console\Commands;
|
||||
|
||||
use Blacklight\Tmux;
|
||||
use Illuminate\Console\Command;
|
||||
use Illuminate\Support\Facades\App;
|
||||
use Ytake\LaravelSmarty\Smarty;
|
||||
|
||||
class UpdateNNTmux extends Command
|
||||
@@ -89,7 +90,7 @@ class UpdateNNTmux extends Command
|
||||
*/
|
||||
private function appDown(): bool
|
||||
{
|
||||
if ($this->appDown() === false) {
|
||||
if (App::isDownForMaintenance() === false) {
|
||||
$this->call('down');
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user