mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-22 01:58:47 +02:00
N°4225 - Protect manual backups from cron (and vice versa) - minimal work ie protect manual backup from cron only
This commit is contained in:
@@ -206,7 +206,9 @@ elseif (MetaModel::GetConfig()->Get('demo_mode'))
|
||||
}
|
||||
else
|
||||
{
|
||||
SetupUtils::EnterReadOnlyMode(MetaModel::GetConfig());
|
||||
$oBackup->CreateCompressedBackup($sBackupFile);
|
||||
SetupUtils::ExitReadOnlyMode();
|
||||
}
|
||||
if ($res && $bDownloadBackup)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user