From 6a50d10a6463bbb0fdc3d07a1e96a6ef37f35f75 Mon Sep 17 00:00:00 2001 From: Petr Skoda Date: Tue, 7 Sep 2010 09:38:23 +0000 Subject: [PATCH] MDL-24116 disabling test UI in XMLDB - this is a first step only, going to migrate this completely to DML/DDL functional tests soon --- admin/xmldb/actions/main_view/main_view.class.php | 5 +---- admin/xmldb/actions/test/test.class.php | 2 ++ lang/en/xmldb.php | 1 - 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/admin/xmldb/actions/main_view/main_view.class.php b/admin/xmldb/actions/main_view/main_view.class.php index 76d91c775bb..2dbe64d7f54 100644 --- a/admin/xmldb/actions/main_view/main_view.class.php +++ b/admin/xmldb/actions/main_view/main_view.class.php @@ -25,7 +25,7 @@ * This class will show all the actions available under the XMLDB editor interface * * From here, files can be created, edited, saved and deleted, plus some - * extra utilities like displaying docs, xml info and performing various tests + * extra utilities like displaying docs, xml info and performing various consistency tests * * @package xmldb-editor * @copyright 2003 onwards Eloy Lafuente (stronk7) {@link http://stronk7.com} @@ -52,7 +52,6 @@ class main_view extends XMLDBAction { 'unload' => 'xmldb', 'delete' => 'xmldb', 'reservedwords' => 'xmldb', - 'test' => 'xmldb', 'gotolastused' => 'xmldb', 'checkindexes' => 'xmldb', 'checkdefaults' => 'xmldb', @@ -95,8 +94,6 @@ class main_view extends XMLDBAction { $b = '

'; /// The reserved_words button $b .= ' [' . $this->str['reservedwords'] . ']'; - /// The test button - $b .= ' [' . $this->str['test'] . ']'; /// The docs button $b .= ' [' . $this->str['doc'] . ']'; /// The check indexes button diff --git a/admin/xmldb/actions/test/test.class.php b/admin/xmldb/actions/test/test.class.php index f3f0afff55f..42215adbed5 100644 --- a/admin/xmldb/actions/test/test.class.php +++ b/admin/xmldb/actions/test/test.class.php @@ -33,6 +33,8 @@ */ class test extends XMLDBAction { + //TODO: MDL-24116 content of this file is being migrated to DDL/DML functional tests, this script is not referenced from UI any more and will be deleted soon + /** * Init method, every subclass will have its own */ diff --git a/lang/en/xmldb.php b/lang/en/xmldb.php index 28b7ac72c3e..a40d5b3e6fb 100644 --- a/lang/en/xmldb.php +++ b/lang/en/xmldb.php @@ -149,7 +149,6 @@ $string['selectonefieldkeyindex'] = 'Please, select one Field/Key/Index from the $string['selecttable'] = 'Select Table:'; $string['table'] = 'Table'; $string['tables'] = 'Tables'; -$string['test'] = 'Test'; $string['textincorrectlength'] = 'Incorrect length for text field'; $string['unload'] = 'Unload'; $string['up'] = 'Up';