mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
MDL-19817 Upgraded calls to print_headline
This commit is contained in:
parent
e09fc68ba7
commit
9ab0a4fac1
@ -266,7 +266,7 @@ function wiki_user_complete($course, $user, $mod, $wiki) {
|
||||
* @return bool
|
||||
*/
|
||||
function wiki_print_recent_activity($course, $isteacher, $timestart) {
|
||||
global $CFG, $DB;
|
||||
global $CFG, $DB, $OUTPUT;
|
||||
|
||||
$sql = "SELECT l.*, cm.instance
|
||||
FROM {log} l JOIN {course_modules} cm ON l.cmid = cm.id
|
||||
@ -300,7 +300,7 @@ function wiki_print_recent_activity($course, $isteacher, $timestart) {
|
||||
if (!$wikis) {
|
||||
return false;
|
||||
}
|
||||
print_headline(get_string('updatedwikipages', 'wiki').':', 3);
|
||||
echo $OUTPUT->heading(get_string("updatedwikipages", 'wiki').':', 3);
|
||||
foreach ($wikis as $wiki) {
|
||||
print_recent_activity_note($wiki->time, $wiki, $wiki->pagename,
|
||||
$CFG->wwwroot.'/mod/wiki/'.$wiki->url);
|
||||
|
Loading…
x
Reference in New Issue
Block a user