From 20808266c815d6b0b92963ffe6a28b8034601d25 Mon Sep 17 00:00:00 2001 From: tjhunt Date: Tue, 22 Aug 2006 19:01:42 +0000 Subject: [PATCH] Work round Eclipse warning. --- question/type/questiontype.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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 -- 2.39.5