]> git.mjollnir.org Git - moodle.git/commitdiff
Enabling rename_field() test
authorstronk7 <stronk7>
Sun, 1 Oct 2006 23:06:35 +0000 (23:06 +0000)
committerstronk7 <stronk7>
Sun, 1 Oct 2006 23:06:35 +0000 (23:06 +0000)
admin/xmldb/actions/test/test.class.php

index e24396af2ba499ffc5ba704373291c999ebe692a..9b1807af0e8b03b839ddfca4596c133f11738aab 100644 (file)
@@ -695,7 +695,7 @@ class test extends XMLDBAction {
         }
 
     /// 39th test. Renaming one field
-        if ($test->status && 1==2) {
+        if ($test->status) {
         /// Get SQL code and execute it
             $test = new stdClass;
             $field = new XMLDBField('type');