public static function releaseDbLock($lockName)
    {
        $sql = 'SELECT RELEASE_LOCK(?)';

        $db = self::get();
        return $db->fetchOne($sql, array($lockName)) == '1';
    }
public static function releaseDbLock($lockName)
    {
        $sql = 'SELECT RELEASE_LOCK(?)';

        $db = self::get();
        return $db->fetchOne($sql, array($lockName)) == '1';
    }
public static function releaseDbLock ( $ lockName ) { $ sql = 'SELECT RELEASE_LOCK(?)' ; $ db = self :: get ( ) ; return $ db -> fetchOne ( $ sql , array ( $ lockName ) ) == '1' ; }
Releases a named lock.

@param string $lockName The lock name.
@return bool `true` if the lock was released, `false` if otherwise.
Releases a named lock .