# This patch file was generated by NetBeans IDE
# This patch can be applied using context Tools: Apply Diff Patch action on respective folder.
# It uses platform neutral UTF-8 encoding.
# Above lines and this line are ignored by the patching process.
Index: calendar/theme/theme.inc
--- calendar/theme/theme.inc Base (1.10.2.72)
+++ calendar/theme/theme.inc Locally Modified (Based On 1.10.2.72)
@@ -128,17 +128,8 @@
   // Massage the resulting items into formatted calendar items.
   $items = calendar_build_nodes($view, $items);
   
-  // Merge in items from other sources.
-  foreach (module_implements('calendar_add_items') as $module) {
-    $function = $module .'_calendar_add_items';
-    if (function_exists($function)) {
-      if ($feeds = $function($view)) {
-        foreach ($feeds as $feed) {
-          $items = $feed;
-        }
-      }
-    }
-  }
+  // Alter the calendard items.
+  drupal_alter('calendar_items', $items, $view);
 
   $view->date_info->mini = isset($view->date_info->mini) ? $view->date_info->mini : $view->date_info->granularity == 'year';
   
