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:
parent
83d95f0775
commit
122fdbb673
|
@ -37,7 +37,7 @@
|
||||||
<?php
|
<?php
|
||||||
try {Artisan::call('backup:clean');}
|
try {Artisan::call('backup:clean');}
|
||||||
catch (exception $e) {}
|
catch (exception $e) {}
|
||||||
Artisan::call('backup:run', ['--only-files' => true]);
|
Artisan::call('backup:run', ['--only-files' => true, '--disable-notifications' => true]);
|
||||||
$tst = base_path('backups/');
|
$tst = base_path('backups/');
|
||||||
file_put_contents($tst.'CANUPDATE', '');
|
file_put_contents($tst.'CANUPDATE', '');
|
||||||
$URL = Route::current()->getName();
|
$URL = Route::current()->getName();
|
||||||
|
|
|
@ -117,7 +117,7 @@ echo "<meta http-equiv=\"refresh\" content=\"0; " . url()->current() . "/?finish
|
||||||
<?php
|
<?php
|
||||||
try {Artisan::call('backup:clean');}
|
try {Artisan::call('backup:clean');}
|
||||||
catch (exception $e) {}
|
catch (exception $e) {}
|
||||||
Artisan::call('backup:run', ['--only-files' => true]);
|
Artisan::call('backup:run', ['--only-files' => true, '--disable-notifications' => true]);
|
||||||
$tst = base_path('backups/');
|
$tst = base_path('backups/');
|
||||||
file_put_contents($tst.'CANUPDATE', '');
|
file_put_contents($tst.'CANUPDATE', '');
|
||||||
$URL = Route::current()->getName();
|
$URL = Route::current()->getName();
|
||||||
|
|
Loading…
Reference in New Issue