diff --git a/mod/quiz/edit.php b/mod/quiz/edit.php
index 119deb4df08..0f2d890be7c 100644
--- a/mod/quiz/edit.php
+++ b/mod/quiz/edit.php
@@ -614,8 +614,6 @@ if (optional_param('savechanges', false, PARAM_BOOL) and confirm_sesskey()) {
}
}
-
-
$significantchangemade = true;
}
/// Delete any teacher preview attempts if the quiz has been modified
@@ -642,27 +640,13 @@ if (isset($quiz->instance) and $DB->record_exists_select('quiz_attempts',
$quiz_has_attempts=true;
}
-
$strupdatemodule = has_capability('moodle/course:manageactivities',
$contexts->lowest()) ?
update_module_button($cm->id, $course->id,
get_string('modulename', 'quiz')) :
"";
$navigation = build_navigation($pagetitle, $cm);
-$localcss= '
- ';
-//Thanks to
-//http://vani.vox.com/library/post/yui-simple-showhide-div-using-module.html
-//as soon as javascript toggling and saving the state to the server as an ajax call
-//has been done, add $quiz_hide_javascript to $localjs
-/*$quiz_hide_javascript="";
-if(!$quiz_qbanktool){
- $quiz_hide_javascript='var quiz_qbanktool=true;';
-}else{
- $quiz_hide_javascript='var quiz_qbanktool=false;';
-}*/
$quiz_randomquestion_dialog_listeners='this.dialog_listeners=[';
if(($numberoflisteners=quiz_number_of_pages($quiz->questions))==0){
$numberoflisteners=1;
@@ -689,6 +673,8 @@ $localjs= '