3
0
mirror of https://github.com/snipe/snipe-it.git synced 2026-08-18 11:15:42 +00:00

Updated comment

This commit is contained in:
snipe
2026-07-31 12:41:41 +01:00
parent e0a3dd2e97
commit fab90c3e91

View File

@ -1092,8 +1092,7 @@ class SettingsController extends Controller
// Take a fresh pre-restore backup so we can point the operator at
// it if the restore fails after we wipe. This is the mitigation
// the pre-existing "// TODO: run a backup" comment described but
// never implemented.
// the pre-existing
$preRestoreBackupName = 'pre-restore-'.date('Y-m-d-H-i-s').'.zip';
Log::debug('Running pre-restore backup: '.$preRestoreBackupName);
$preBackupExit = Artisan::call('snipeit:backup', [