]> git.mjollnir.org Git - moodle.git/commitdiff
mod-folder MDL-19799 Added set_url calls, replaced deprecated functions
authorsamhemelryk <samhemelryk>
Thu, 24 Sep 2009 06:16:35 +0000 (06:16 +0000)
committersamhemelryk <samhemelryk>
Thu, 24 Sep 2009 06:16:35 +0000 (06:16 +0000)
mod/folder/view.php

index 7ce6685b13909bc06cb52b35efc5c742c00fd5bc..f91b7da96fff4d1724fa0930597a528bc3e3642b 100644 (file)
@@ -53,7 +53,7 @@ $PAGE->requires->js('mod/folder/functions.js');
 $PAGE->set_title($course->shortname.': '.$folder->name);
 $PAGE->set_heading($course->fullname);
 $PAGE->set_activity_record($folder);
-$PAGE->set_button(update_module_button($cm->id, '', get_string('modulename', 'folder')));
+$PAGE->set_button($OUTPUT->update_module_button($cm->id, 'folder'));
 echo $OUTPUT->header();
 
 echo $OUTPUT->heading(format_string($folder->name), 2);