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:
631d9f6
)
MDL-41191 enrol: fix use of deprecated function
author
Dan Poltawski
<dan@moodle.com>
Wed, 14 Aug 2013 09:30:00 +0000
(17:30 +0800)
committer
Dan Poltawski
<dan@moodle.com>
Thu, 15 Aug 2013 03:50:08 +0000
(11:50 +0800)
lib/enrollib.php
patch
|
blob
|
blame
|
history
diff --git
a/lib/enrollib.php
b/lib/enrollib.php
index
d3a878e
..
a9741f9
100644
(file)
--- a/
lib/enrollib.php
+++ b/
lib/enrollib.php
@@
-298,7
+298,7
@@
function enrol_get_shared_courses($user1, $user2, $preloadcontexts = false, $che
} else {
$courses = $DB->get_records_sql($sql, $params);
if ($preloadcontexts) {
- array_map('context_
instance_preloa
d', $courses);
+ array_map('context_
helper::preload_from_recor
d', $courses);
}
return $courses;
}