We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -49,14 +49,14 @@ |
||
49 | 49 | { |
50 | 50 | try { |
51 | 51 | ini_set('max_execution_time', 300); |
52 | - // start the backup process |
|
53 | - Artisan::call('backup:run'); |
|
52 | + // start the backup process |
|
53 | + Artisan::call('backup:run'); |
|
54 | 54 | $output = Artisan::output(); |
55 | 55 | |
56 | - // log the results |
|
57 | - Log::info("Backpack\BackupManager -- new backup started from admin interface \r\n".$output); |
|
58 | - // return the results as a response to the ajax call |
|
59 | - echo $output; |
|
56 | + // log the results |
|
57 | + Log::info("Backpack\BackupManager -- new backup started from admin interface \r\n".$output); |
|
58 | + // return the results as a response to the ajax call |
|
59 | + echo $output; |
|
60 | 60 | } catch (Exception $e) { |
61 | 61 | Response::make($e->getMessage(), 500); |
62 | 62 | } |
@@ -2,9 +2,9 @@ |
||
2 | 2 | |
3 | 3 | namespace Backpack\BackupManager\app\Http\Controllers; |
4 | 4 | |
5 | +use Artisan; |
|
5 | 6 | use Exception; |
6 | 7 | use Illuminate\Routing\Controller; |
7 | -use Artisan; |
|
8 | 8 | use League\Flysystem\Adapter\Local; |
9 | 9 | use Log; |
10 | 10 | use Request; |