@@ -28,11 +28,10 @@ |
||
28 | 28 | public function handle() |
29 | 29 | { |
30 | 30 | $command = config('databasebackup.remote_access') ? |
31 | - config('databasebackup.remote_backup_command') : |
|
32 | - config('databasebackup.local_backup_command'); |
|
31 | + config('databasebackup.remote_backup_command') : config('databasebackup.local_backup_command'); |
|
33 | 32 | |
34 | 33 | $returnVar = NULL; |
35 | - $output = NULL; |
|
34 | + $output = NULL; |
|
36 | 35 | |
37 | 36 | exec($command, $output, $returnVar); |
38 | 37 | $this->info('Database backup was successful.'); |