mirror of
https://github.com/moodle/moodle.git
synced 2025-01-31 12:45:04 +01:00
xmldb: typos in generated code.
This commit is contained in:
parent
c51c43a092
commit
9dbebd145d
@ -919,7 +919,7 @@ class view_table_php extends XMLDBAction {
|
||||
/// Launch the proper DDL
|
||||
$result .= XMLDB_LINEFEED;
|
||||
$result .= ' /// Conditionally launch add index ' . $index->getName() . XMLDB_LINEFEED;
|
||||
$result .= ' if (!$dbman->index_exists($table, $index) {' . XMLDB_LINEFEED;
|
||||
$result .= ' if (!$dbman->index_exists($table, $index)) {' . XMLDB_LINEFEED;
|
||||
$result .= ' $dbman->add_index($table, $index);' . XMLDB_LINEFEED;
|
||||
$result .= ' }' . XMLDB_LINEFEED;
|
||||
|
||||
@ -967,7 +967,7 @@ class view_table_php extends XMLDBAction {
|
||||
/// Launch the proper DDL
|
||||
$result .= XMLDB_LINEFEED;
|
||||
$result .= ' /// Conditionally launch drop index ' . $index->getName() . XMLDB_LINEFEED;
|
||||
$result .= ' if ($dbman->index_exists($table, $index) {' . XMLDB_LINEFEED;
|
||||
$result .= ' if ($dbman->index_exists($table, $index)) {' . XMLDB_LINEFEED;
|
||||
$result .= ' $dbman->drop_index($table, $index);' . XMLDB_LINEFEED;
|
||||
$result .= ' }' . XMLDB_LINEFEED;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user