Fixed  "There is no notification class that can handle event X" while performing backup

https://github.com/LinkStackOrg/linkstack-docker/issues/101
This commit is contained in:
Julian Prieber 2024-09-16 12:06:38 +02:00
parent 83d95f0775
commit 122fdbb673
2 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@
<?php
try {Artisan::call('backup:clean');}
catch (exception $e) {}
Artisan::call('backup:run', ['--only-files' => true]);
Artisan::call('backup:run', ['--only-files' => true, '--disable-notifications' => true]);
$tst = base_path('backups/');
file_put_contents($tst.'CANUPDATE', '');
$URL = Route::current()->getName();

View File

@ -117,7 +117,7 @@ echo "<meta http-equiv=\"refresh\" content=\"0; " . url()->current() . "/?finish
<?php
try {Artisan::call('backup:clean');}
catch (exception $e) {}
Artisan::call('backup:run', ['--only-files' => true]);
Artisan::call('backup:run', ['--only-files' => true, '--disable-notifications' => true]);
$tst = base_path('backups/');
file_put_contents($tst.'CANUPDATE', '');
$URL = Route::current()->getName();