Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0
-
None
-
MOODLE_20_STABLE
-
MOODLE_20_STABLE
Description
Modify the suggested code by XMLDB editor to make all the creation functions (create_table, create_index...) to be executed within one:
if (!table_exists...)
block.
Right now, create_table() itself checks this, returning true and we are going to change this to return false. So conditions will be necessary (or exception handling).