MDL-32434 deprecate drop_temp_table() in favour of drop_table()

This commit is contained in:
Petr Skoda
2012-04-15 12:23:15 +02:00
parent 9b3323b8be
commit a66b2ae4f4
14 changed files with 26 additions and 85 deletions
+1 -1
View File
@@ -242,7 +242,7 @@ class backup_dbops_test extends UnitTestCase {
// backup_ids_temp table tests
// If, for any reason table exists, drop it
if ($dbman->table_exists('backup_ids_temp')) {
$dbman->drop_temp_table(new xmldb_table('backup_ids_temp'));
$dbman->drop_table(new xmldb_table('backup_ids_temp'));
}
// Check backup_ids_temp table doesn't exist
$this->assertFalse($dbman->table_exists('backup_ids_temp'));