Index: event.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/event/event.module,v
retrieving revision 1.134
diff -u -F^f -r1.134 event.module
--- event.module	25 May 2005 21:30:53 -0000	1.134
+++ event.module	28 Jun 2005 22:40:53 -0000
@@ -359,8 +359,8 @@ function event_term($filter = NULL, $vie
  * @ingroup event_callback
  * @return redirect to the event rss feed page at current day
  */
-function event_feed($duration = NULL) {
-  drupal_goto('event/'. format_date(_event_user_time(), 'custom', 'Y/m/d') .'/feed/all/all/'. $duration);
+function event_feed($types = 'all', $terms = 'all', $duration = NULL) {
+  drupal_goto('event/'. format_date(_event_user_time(), 'custom', 'Y/m/d') .'/feed/'. $types .'/'. $terms .'/'. $duration);
 }
 
 /**
@@ -369,9 +369,9 @@ function event_feed($duration = NULL) {
  * @ingroup event_callback
  * @return redirect to the event ical feed page at current day
  */
-function event_ical($duration = NULL) {
+function event_ical($types = 'all', $terms = 'all', $duration = NULL) {
 
-  drupal_goto('event/'. format_date(_event_user_time(), 'custom', 'Y/m/d') .'/ical/all/all/'. $duration);
+  drupal_goto('event/'. format_date(_event_user_time(), 'custom', 'Y/m/d') .'/ical/'. $types .'/'. $terms .'/'. $duration);
 
   drupal_set_title(t('iCal support not enabled'));
   print theme('page', $output);
@@ -1830,4 +1830,4 @@ function event_help($section) {
   }
 }
 
-?>
\ No newline at end of file
+?>
