aboutsummaryrefslogtreecommitdiffstats
path: root/apps/calendar/templates/share.dropdown.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/calendar/templates/share.dropdown.php')
-rwxr-xr-x[-rw-r--r--]apps/calendar/templates/share.dropdown.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/calendar/templates/share.dropdown.php b/apps/calendar/templates/share.dropdown.php
index 71556a6a21c..cd44988af90 100644..100755
--- a/apps/calendar/templates/share.dropdown.php
+++ b/apps/calendar/templates/share.dropdown.php
@@ -21,12 +21,12 @@ foreach($sharedelements as $sharedelement){
<select id="share_user" title="<?php echo $l->t('select users');?>" data-placeholder="<?php echo $l->t('select users'); ?>">
<option value=""></option>
<?php
-$allocusers = OC_User::getUsers();
+$allocusers = OCP\USER::getUsers();
$allusers = array();
foreach($allocusers as $ocuser){
$allusers[$ocuser] = $ocuser;
}
-unset($allusers[OC_User::getUser()]);
+unset($allusers[OCP\USER::getUser()]);
$allusers = array_flip($allusers);
echo html_select_options($allusers, array());
?>