mirror of
https://github.com/moodle/moodle.git
synced 2025-04-22 00:42:54 +02:00
Drop one more table if present
This commit is contained in:
parent
4702d62e32
commit
f086dd7da1
@ -81,6 +81,10 @@ class test extends XMLDBAction {
|
||||
if (table_exists($table)) {
|
||||
$status = drop_table($table, true, false);
|
||||
}
|
||||
$table = new XMLDBTable ('newnameforthetable');
|
||||
if (table_exists($table)) {
|
||||
$status = drop_table($table, true, false);
|
||||
}
|
||||
|
||||
/// 1st test. Complete table creation.
|
||||
$table = new XMLDBTable('testtable');
|
||||
|
Loading…
x
Reference in New Issue
Block a user