Replaces deprecated update_module_button()

This commit is contained in:
David Mudrak
2010-01-04 17:49:33 +00:00
parent 6405b2549c
commit 088e75ca19
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ require_login($course, false, $cm);
$PAGE->set_url('mod/workshop/develtools.php', array('cmid' => $cm->id));
$PAGE->set_title($workshop->name);
$PAGE->set_heading($course->fullname);
$PAGE->set_button(update_module_button($cm->id, $course->id, get_string('modulename', 'workshop')));
$PAGE->set_button($OUTPUT->update_module_button($cm->id, 'workshop'));
$wsoutput = $PAGE->theme->get_renderer('mod_workshop', $PAGE);