From 8451ffdfb4fd090c6b3b3599fbb3eeeb015c6375 Mon Sep 17 00:00:00 2001 From: Romain Quetiez Date: Tue, 27 Jun 2017 13:58:38 +0000 Subject: [PATCH] Regression introduced with the implementation of obsolescence: first install not working (Access denied for user ''@localhost) SVN:trunk[4771] --- core/mutex.class.inc.php | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/core/mutex.class.inc.php b/core/mutex.class.inc.php index c0d8521f7..1c11b6bc8 100644 --- a/core/mutex.class.inc.php +++ b/core/mutex.class.inc.php @@ -1,5 +1,5 @@ GetDBName(); $sDBSubname = $oConfig->GetDBSubname(); $this->sName = 'itop.'.$sName; @@ -49,7 +53,7 @@ class iTopMutex // running cron job by its mutex, without knowing if the config already exists or not $this->sName .= $sDBName.$sDBSubname; } - + $this->bLocked = false; // Not yet locked if (!array_key_exists($this->sName, self::$aAcquiredLocks))