Skip to content

Commit 122fdbb

Browse files
committed
Fixed  "There is no notification class that can handle event X" while performing backup
LinkStackOrg/linkstack-docker#101
1 parent 83d95f0 commit 122fdbb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

resources/views/backup.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
<?php
3838
try {Artisan::call('backup:clean');}
3939
catch (exception $e) {}
40-
Artisan::call('backup:run', ['--only-files' => true]);
40+
Artisan::call('backup:run', ['--only-files' => true, '--disable-notifications' => true]);
4141
$tst = base_path('backups/');
4242
file_put_contents($tst.'CANUPDATE', '');
4343
$URL = Route::current()->getName();

resources/views/update.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@
117117
<?php
118118
try {Artisan::call('backup:clean');}
119119
catch (exception $e) {}
120-
Artisan::call('backup:run', ['--only-files' => true]);
120+
Artisan::call('backup:run', ['--only-files' => true, '--disable-notifications' => true]);
121121
$tst = base_path('backups/');
122122
file_put_contents($tst.'CANUPDATE', '');
123123
$URL = Route::current()->getName();

0 commit comments

Comments
 (0)