From a61b389ff4fac68e41ccc8d46adc90dd403a2155 Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Tue, 28 Dec 2010 01:22:38 +0000 Subject: [PATCH] Nitpick r79094: fix var names --- includes/db/Database.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 ); } /** -- 2.20.1