Remove reference to a function that no longer exists in Views.
authorKaren Stevenson
Sat, 16 Apr 2011 21:53:09 +0000 (16:53 -0500)
committerKaren Stevenson
Sat, 16 Apr 2011 21:53:09 +0000 (16:53 -0500)
date_tools/date_tools.wizard.inc

index 4acd028..0603d98 100644 (file)
@@ -417,7 +417,7 @@ function date_tools_wizard_create_calendar($name, $bundle, $date_field, $date_in
   ctools_object_cache_clear('view', 'calendar_' . $bundle);  
 
   // Force Views to empty its cache and find the new view.
-  views_discover_default_views();
+  views_get_all_views(TRUE);
 
   return 'calendar_' . $bundle;
 }