Merge branch 'w04_MDL-31176_m23_groupcontext' of git://github.com/skodak/moodle
This commit is contained in:
+1
-1
@@ -1796,7 +1796,7 @@ class calendar_event {
|
||||
* @return stdClass
|
||||
*/
|
||||
protected function calculate_context(stdClass $data) {
|
||||
global $USER;
|
||||
global $USER, $DB;
|
||||
|
||||
$context = null;
|
||||
if (isset($data->courseid) && $data->courseid > 0) {
|
||||
|
||||
Reference in New Issue
Block a user