diff options
Diffstat (limited to 'apps/calendar/templates/part.import.php')
-rwxr-xr-x[-rw-r--r--] | apps/calendar/templates/part.import.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/calendar/templates/part.import.php b/apps/calendar/templates/part.import.php index 90691a33e50..80375c3ef78 100644..100755 --- a/apps/calendar/templates/part.import.php +++ b/apps/calendar/templates/part.import.php @@ -6,7 +6,7 @@ <p style="text-align:center;"><b><?php echo $l->t('Please choose the calendar'); ?></b></p> <select style="width:100%;" id="calendar" name="calendar"> <?php -$calendar_options = OC_Calendar_Calendar::allCalendars(OC_User::getUser()); +$calendar_options = OC_Calendar_Calendar::allCalendars(OCP\USER::getUser()); $calendar_options[] = array('id'=>'newcal', 'displayname'=>$l->t('create a new calendar')); echo html_select_options($calendar_options, $calendar_options[0]['id'], array('value'=>'id', 'label'=>'displayname')); ?> |