Nitpick r79094: fix var names
authorChad Horohoe <demon@users.mediawiki.org>
Tue, 28 Dec 2010 01:22:38 +0000 (01:22 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Tue, 28 Dec 2010 01:22:38 +0000 (01:22 +0000)
includes/db/Database.php

index e502796..0f9065c 100644 (file)
@@ -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 );
        }
 
        /**