Permalink
Browse files

Merge branch 'MDL-58906-master' of git://github.com/ankitagarwal/moodle

  • Loading branch information...
dmonllao committed Jul 26, 2017
2 parents 1ea5164 + 9b5d887 commit ab4ae50603be7a0c434d5de1fbffc3ef17242dc0
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 ab4ae50

Please sign in to comment.