Skip to content

Commit 7f2d4c3

Browse files
fix: remove maintenance mode calls during update process
1 parent 054bfcf commit 7f2d4c3

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

app/Console/Commands/Update.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ public function handle()
2828
{
2929
$error = false;
3030
try {
31-
$this->call('maintenance start');
3231
$process = new Process(['git', 'pull', 'origin', 'main']);
3332
$process->run();
3433
if (! $process->isSuccessful()) {
@@ -51,7 +50,6 @@ public function handle()
5150
}
5251
} finally {
5352
$error ? $this->error('Update Gagal!') : $this->info('Update Sukses! ');
54-
$this->call('maintenance stop');
5553
}
5654
}
5755
}

0 commit comments

Comments
 (0)