From: Chad Horohoe Date: Tue, 28 Dec 2010 01:22:38 +0000 (+0000) Subject: Nitpick r79094: fix var names X-Git-Tag: 1.31.0-rc.0~33041 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22articles%22%2C%22id_article=%24id_article%22%29%20.%20%22?a=commitdiff_plain;h=a61b389ff4fac68e41ccc8d46adc90dd403a2155;p=lhc%2Fweb%2Fwiklou.git Nitpick r79094: fix var names --- diff --git a/includes/db/Database.php b/includes/db/Database.php index e502796530..0f9065cf53 100644 --- a/includes/db/Database.php +++ b/includes/db/Database.php @@ -2642,15 +2642,15 @@ abstract class DatabaseBase implements DatabaseType { /** * Delete a table */ - public function dropTable( $tableName, $method = 'DatabaseBase::dropTable' ) { - if( !$this->tableExists( $tableName, $method ) ) { + public function dropTable( $tableName, $fName = 'DatabaseBase::dropTable' ) { + if( !$this->tableExists( $tableName ) ) { return false; } $sql = "DROP TABLE " . $this->tableName( $tableName ); if( $this->cascadingDeletes() ) { $sql .= " CASCADE"; } - return $this->query( $sql ); + return $this->query( $sql, $fName ); } /**