diff options
Diffstat (limited to 'app/php/events/CalendarPreferenceEvents.php')
-rw-r--r-- | app/php/events/CalendarPreferenceEvents.php | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/app/php/events/CalendarPreferenceEvents.php b/app/php/events/CalendarPreferenceEvents.php deleted file mode 100644 index 76fa071..0000000 --- a/app/php/events/CalendarPreferenceEvents.php +++ /dev/null @@ -1,16 +0,0 @@ -<?php - -Prado::using('Application.events.EventModule'); -Prado::using('Application.model.User'); -Prado::using('Application.facades.CalendarFacade'); - -class CalendarPreferenceEvents extends EventModule { - - public function onUserRegistered(User $user) { - $facade = CalendarFacade::getInstance(); - $facade->setPreferredCalendars($user, $facade->getDefaultPreference()); - } - -} - -?> |