mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
N°4227 / N°4225 - Fix cron backup
This commit is contained in:
@@ -2016,7 +2016,10 @@ JS
|
||||
$bPreviousMode = self::IsInReadOnlyMode();
|
||||
@touch(READONLY_MODE_FILE);
|
||||
self::Log("----> Entering read only mode");
|
||||
self::WaitCronTermination($oConfig, "read only");
|
||||
if (!ContextTag::Check(ContextTag::TAG_CRON)) {
|
||||
self::WaitCronTermination($oConfig, "read only");
|
||||
}
|
||||
|
||||
return $bPreviousMode;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user