]> git.mjollnir.org Git - moodle.git/commitdiff
Now tested against Oracle too. Adding option to XMLDB Editor interface. MDL-7357
authorstronk7 <stronk7>
Sun, 8 Jul 2007 23:58:05 +0000 (23:58 +0000)
committerstronk7 <stronk7>
Sun, 8 Jul 2007 23:58:05 +0000 (23:58 +0000)
Merged from MOODLE_18_STABLE

admin/xmldb/actions/main_view/main_view.class.php

index 921cb711b57a2c13f5fe2fa38f8a6be93401f919..673cb885a0b57f71a576fc5f7d7a13d028b789e1 100644 (file)
@@ -47,7 +47,8 @@ class main_view extends XMLDBAction {
             'delete' => 'xmldb',
             'reservedwords' => 'xmldb',
             'test' => 'xmldb',
-            'gotolastused' => 'xmldb'
+            'gotolastused' => 'xmldb',
+            'checkindexes' => 'xmldb'
         ));
     }
 
@@ -84,6 +85,8 @@ class main_view extends XMLDBAction {
         $b .= '&nbsp;<a href="index.php?action=view_reserved_words">[' . $this->str['reservedwords'] . ']</a>';
     /// The test button
         $b .= '&nbsp;<a href="index.php?action=test">[' . $this->str['test'] . ']</a>';
+    /// The check indexes button
+        $b .= '&nbsp;<a href="index.php?action=check_indexes">[' . $this->str['checkindexes'] . ']</a>';
         $b .= '</p>';
     /// Send buttons to output
         $o .= $b;