Skip to content
Snippets Groups Projects
Commit 2542ad7e authored by Karen Stevenson's avatar Karen Stevenson
Browse files

Make sure calendar module loads before calendar_ical.

parent 43a87794
No related branches found
No related tags found
Loading
......@@ -17,6 +17,7 @@ function calendar_init() {
// to module installation page.
if (!module_exist('date_api')) {
db_query("UPDATE {system} SET status = 0, throttle = 0 WHERE type = 'module' AND name = '%s'", 'calendar');
db_query("UPDATE {system} SET status = 0, throttle = 0 WHERE type = 'module' AND name = '%s'", 'calendar_ical');
// Refresh the module list to exclude the disabled modules.
module_list(TRUE, FALSE);
// Force to regenerate the stored list of hook implementations.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment