Complete todo.
authorJan Schneider <jan@horde.org>
Tue, 8 Dec 2009 21:38:45 +0000 (22:38 +0100)
committerJan Schneider <jan@horde.org>
Tue, 8 Dec 2009 21:40:06 +0000 (22:40 +0100)
turba/lib/Driver.php

index 9891c85..b877ef8 100644 (file)
@@ -636,12 +636,11 @@ class Turba_Driver
                                  $t_object_end->month,
                                  $t_object_end->mday),
                 'category' => $ob->getValue('category'),
-                // @todo: This should really be Horde_Date_Recurrence::RECUR_YEARLY_DATE.
-                'recurrence' => array('type' => 5,
+                'recurrence' => array('type' => Horde_Date_Recurrence::RECUR_YEARLY_DATE,
                                       'interval' => 1),
                 'params' => array('source' => $this->name, 'key' => $key),
                 'link' => Horde_Util::addParameter(Horde::applicationUrl('contact.php', true), array('source' => $this->name, 'key' => $key), null, false));
-       }
+        }
 
         return $t_objects;
     }