From: samhemelryk Date: Fri, 16 Oct 2009 03:19:50 +0000 (+0000) Subject: data MDL-19806 Upgraded deprecated calls X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=6d8363c40be2b1a4ccfe77532b92b77b8344bb1d;p=moodle.git data MDL-19806 Upgraded deprecated calls --- diff --git a/mod/data/view.php b/mod/data/view.php index f08be89b17..40c2ce88f0 100755 --- a/mod/data/view.php +++ b/mod/data/view.php @@ -279,7 +279,7 @@ // The code will be much nicer than this eventually. $title = $course->shortname.': ' . format_string($data->name); - $buttons = ''; + $buttons = '
'.update_module_button($cm->id, $course->id, get_string('modulename', 'data')).'
'; if ($PAGE->user_allowed_editing() && !empty($CFG->showblocksonmodpages)) { $buttons .= '
'.$OUTPUT->update_module_button($cm->id, $cm->modname).'
frametarget.' method="get" action="view.php">
'. ''.