Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de31668
)
MDL-41191 forum: convert use of deprecated function
author
Dan Poltawski
<dan@moodle.com>
Wed, 14 Aug 2013 09:04:24 +0000
(17:04 +0800)
committer
Dan Poltawski
<dan@moodle.com>
Thu, 15 Aug 2013 03:50:08 +0000
(11:50 +0800)
mod/forum/lib.php
patch
|
blob
|
blame
|
history
diff --git
a/mod/forum/lib.php
b/mod/forum/lib.php
index
8a5a46b
..
ca61d98
100644
(file)
--- a/
mod/forum/lib.php
+++ b/
mod/forum/lib.php
@@
-8134,7
+8134,7
@@
function forum_get_courses_user_posted_in($user, $discussionsonly = false, $incl
WHERE $wheresql";
$courses = $DB->get_records_sql($sql, $params, $limitfrom, $limitnum);
if ($includecontexts) {
- array_map('context_
instance_preloa
d', $courses);
+ array_map('context_
helper::preload_from_recor
d', $courses);
}
return $courses;
}