X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fdb%2FCloneDatabase.php;h=4e43642fae0ac9e3296592631023937a80ce0b78;hb=d0d2c9bb492b7a99ea89ea4413468360c5f2637c;hp=f29e0b2e96a7c95559c47097d2d164eaee6eb3ec;hpb=70430650e9ad24953eee00d15efe27df4cde38c4;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/db/CloneDatabase.php b/includes/db/CloneDatabase.php index f29e0b2e96..4e43642fae 100644 --- a/includes/db/CloneDatabase.php +++ b/includes/db/CloneDatabase.php @@ -20,6 +20,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * http://www.gnu.org/copyleft/gpl.html * + * @file * @ingroup Database */ @@ -98,7 +99,7 @@ class CloneDatabase { self::changePrefix( $this->newTablePrefix ); $newTableName = $this->db->tableName( $tbl, 'raw' ); - if( $this->dropCurrentTables && !in_array( $this->db->getType(), array( 'postgres' ) ) ) { + if( $this->dropCurrentTables && !in_array( $this->db->getType(), array( 'postgres', 'oracle' ) ) ) { $this->db->dropTable( $tbl, __METHOD__ ); wfDebug( __METHOD__." dropping {$newTableName}\n", true); //Dropping the oldTable because the prefix was changed