From: tjhunt Date: Tue, 22 Aug 2006 19:01:42 +0000 (+0000) Subject: Work round Eclipse warning. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=20808266c815d6b0b92963ffe6a28b8034601d25;p=moodle.git Work round Eclipse warning. --- diff --git a/question/type/questiontype.php b/question/type/questiontype.php index 8c09476063..25a22f3d4c 100644 --- a/question/type/questiontype.php +++ b/question/type/questiontype.php @@ -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