diff options
Diffstat (limited to 'phpBB/phpbb/lock/db.php')
| -rw-r--r-- | phpBB/phpbb/lock/db.php | 7 | 
1 files changed, 7 insertions, 0 deletions
diff --git a/phpBB/phpbb/lock/db.php b/phpBB/phpbb/lock/db.php index 85ba9a7aa3..eea919f8f7 100644 --- a/phpBB/phpbb/lock/db.php +++ b/phpBB/phpbb/lock/db.php @@ -110,6 +110,13 @@ class db  		// process we failed to acquire the lock.  		$this->locked = $this->config->set_atomic($this->config_name, $lock_value, $this->unique_id, false); +		if ($this->locked == true) +		{ +			if ($this->config->ensure_lock($this->config_name, $this->unique_id)) +			{ +				return true; +			} +		}  		return $this->locked;  	}  | 
