]> git.mjollnir.org Git - moodle.git/commitdiff
Work round Eclipse warning.
authortjhunt <tjhunt>
Tue, 22 Aug 2006 19:01:42 +0000 (19:01 +0000)
committertjhunt <tjhunt>
Tue, 22 Aug 2006 19:01:42 +0000 (19:01 +0000)
question/type/questiontype.php

index 8c09476063d3bed5cf7936cef2dab1f2c567c926..25a22f3d4c7e7210bbb5c3f196aaa870bbc7b441 100644 (file)
@@ -973,8 +973,10 @@ class default_questiontype {
     function print_replacement_options($question, $course, $cmid='0') {
 
         // Disable until the versioning code has been fixed
-        return;
-
+        if (true) {
+            return;
+        }
+        
         // no need to display replacement options if the question is new
         if(empty($question->id)) {
             return true;
@@ -1148,4 +1150,4 @@ class default_questiontype {
 
 }
 
-?>
+?>
\ No newline at end of file