Fix maintenance mode check in UpdateNNTmux console command

This commit is contained in:
DariusIII
2019-03-04 11:30:22 +01:00
parent f26528184c
commit 0aa9de40e5
2 changed files with 3 additions and 1 deletions
+1
View File
@@ -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
+2 -1
View File
@@ -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;