Index: trunk/phase3/includes/db/Database.php |
— | — | @@ -2642,15 +2642,15 @@ |
2643 | 2643 | /** |
2644 | 2644 | * Delete a table |
2645 | 2645 | */ |
2646 | | - public function dropTable( $tableName, $method = 'DatabaseBase::dropTable' ) { |
2647 | | - if( !$this->tableExists( $tableName, $method ) ) { |
| 2646 | + public function dropTable( $tableName, $fName = 'DatabaseBase::dropTable' ) { |
| 2647 | + if( !$this->tableExists( $tableName ) ) { |
2648 | 2648 | return false; |
2649 | 2649 | } |
2650 | 2650 | $sql = "DROP TABLE " . $this->tableName( $tableName ); |
2651 | 2651 | if( $this->cascadingDeletes() ) { |
2652 | 2652 | $sql .= " CASCADE"; |
2653 | 2653 | } |
2654 | | - return $this->query( $sql ); |
| 2654 | + return $this->query( $sql, $fName ); |
2655 | 2655 | } |
2656 | 2656 | |
2657 | 2657 | /** |