Permalink
Browse files

Merge branch 'MDL-58906-33' of git://github.com/ankitagarwal/moodle i…

…nto MOODLE_33_STABLE
  • Loading branch information...
dmonllao committed Jul 26, 2017
2 parents f30ca33 + de99cab commit 1abc345a3daf0d94c770fe983a8f6180b6df1c92
Showing with 3 additions and 5 deletions.
  1. +3 −5 lib/classes/task/refresh_mod_calendar_events_task.php
@@ -65,11 +65,9 @@ public function execute() {
// This plugin is not in the list, move on to the next one.
continue;
}
// Check if the plugin implements *_refresh_events() and call it when it does.
if (component_callback_exists('mod_' . $plugin->name, 'refresh_events')) {
mtrace('Refreshing events for ' . $plugin->name);
course_module_bulk_update_calendar_events($plugin->name, $courseid);
}
// Refresh events.
mtrace('Refreshing events for ' . $plugin->name);
course_module_bulk_update_calendar_events($plugin->name, $courseid);
}
}
}

0 comments on commit 1abc345

Please sign in to comment.