summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/php/controls/UserSelection.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/php/controls/UserSelection.php b/app/php/controls/UserSelection.php
index 6ae68e4..d888a2d 100644
--- a/app/php/controls/UserSelection.php
+++ b/app/php/controls/UserSelection.php
@@ -27,6 +27,10 @@ class UserSelection extends TTemplateControl {
public function removeFromSelection($sender, $param) {
if (!$this->UserToDisplay->IsGuest) {
+ return CalendarFacade::getInstance()->removeFromPreference(
+ $this->UserToDisplay,
+ $param->CommandParameter
+ );
}
}