]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-21007 - take out the box saying FakeTests are disabled. Not needed anymore.
authorEloy Lafuente <stronk7@moodle.org>
Mon, 30 Nov 2009 23:33:24 +0000 (23:33 +0000)
committerEloy Lafuente <stronk7@moodle.org>
Mon, 30 Nov 2009 23:33:24 +0000 (23:33 +0000)
admin/report/unittest/index.php

index 51d021b1bc769746b8dc9d8c4fbb455ee6e8564d..175fd3730ea01087a86923295702174290952f39 100644 (file)
@@ -119,28 +119,6 @@ echo '</fieldset>';
 echo '</form>';
 echo $OUTPUT->box_end();
 
-echo $OUTPUT->box_start('generalbox boxwidthwide boxaligncenter');
-if (true) {
-    echo "<p>Fake test tables are disabled for now, sorry</p>"; // DO NOT LOCALISE!!! to be removed soon
-
-} else if (empty($CFG->unittestprefix)) {
-    echo $OUTPUT->heading(get_string('testdboperations', 'simpletest'));
-    // TODO: localise
-    echo '<p>Please add $CFG->unittestprefix="tst_"; or some other unique test table prefix if you want to execute all tests';
-
-} else {
-    echo $OUTPUT->heading(get_string('testdboperations', 'simpletest'));
-    echo '<p>'.get_string('unittestprefixsetting', 'simpletest', $CFG).'</p>';
-
-    echo '<form style="display:inline" method="get" action="index.php">';
-    echo '<fieldset class="invisiblefieldset">';
-    echo '<input type="hidden" name="setuptesttables" value="1" />';
-    echo '<input type="submit" value="' . get_string('reinstalltesttables', 'simpletest') . '" />';
-    echo '</fieldset>';
-    echo '</form>';
-}
-echo $OUTPUT->box_end();
-
 // Print link to latest code coverage for this report type
 if (is_null($path) || !$codecoverage) {
     moodle_coverage_reporter::print_link_to_latest('unittest');