From: Chad Horohoe Date: Mon, 27 Jul 2009 23:36:30 +0000 (+0000) Subject: $this not $db X-Git-Tag: 1.31.0-rc.0~40685 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=aa245f83d7e8fec8724d491a5d84e1e3f25a0244;p=lhc%2Fweb%2Fwiklou.git $this not $db --- diff --git a/includes/db/DatabaseMysql.php b/includes/db/DatabaseMysql.php index e985854353..f86c405d97 100644 --- a/includes/db/DatabaseMysql.php +++ b/includes/db/DatabaseMysql.php @@ -336,7 +336,7 @@ class DatabaseMysql extends DatabaseBase { $items[] = $this->tableName( $table ) . ' READ'; } $sql = "LOCK TABLES " . implode( ',', $items ); - $db->query( $sql, $method ); + $this->query( $sql, $method ); } public function unlockTables( $method ) {