From dbc31b0931cdab7a717606d1861b4c8ebf5ad5c0 Mon Sep 17 00:00:00 2001
From: Andreas Gohr <andi@splitbrain.org>
Date: Sat, 21 Jan 2006 16:27:40 +0100
Subject: [PATCH] spellfix for mysql auth backend

darcs-hash:20060121152740-7ad00-80eecea2be4754494fef5f11cc91d7f3e4acf1fb.gz
---
 inc/auth/mysql.class.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/inc/auth/mysql.class.php b/inc/auth/mysql.class.php
index 6d79c5430..8fdb16122 100644
--- a/inc/auth/mysql.class.php
+++ b/inc/auth/mysql.class.php
@@ -294,7 +294,7 @@ class auth_mysql extends auth_basic {
       if($this->openDB()) {
         $this->lockTables("WRITE");
         $rc = addUserToGroup($user, $group);
-        $this->unlochTables();
+        $this->unlockTables();
         $this->closeDB();
       }
       return $rc;
-- 
GitLab