🐛 Fix default usage of iTopMutex when TLS is enabled

See R-021467
This commit is contained in:
Thomas Casteleyn
2019-04-24 14:45:31 +02:00
committed by Pierre Goiffon
parent 16c8466841
commit 2858d13fd5

View File

@@ -45,7 +45,7 @@ class iTopMutex
static protected $aAcquiredLocks = array(); // Number of instances of the Mutex, having the lock, in this page
public function __construct(
$sName, $sDBHost = null, $sDBUser = null, $sDBPwd = null, $bDBTlsEnabled = false, $sDBTlsCA = null
$sName, $sDBHost = null, $sDBUser = null, $sDBPwd = null, $bDBTlsEnabled = null, $sDBTlsCA = null
)
{
// Compute the name of a lock for mysql