summaryrefslogtreecommitdiff
path: root/app/php/controls/UserSelection.php
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2016-04-14 13:16:47 +0200
committeremkael <emkael@tlen.pl>2016-04-14 13:16:47 +0200
commit769147bbd06dc8a95f24007eb8cba646a1002bb4 (patch)
tree673d8a89c44ea718a35da5cd021d074cca853a6a /app/php/controls/UserSelection.php
parentabb76a1bb499d59dbdfd7f0f5d0ac60cb4d64f07 (diff)
* removing from user selection implemented after factoring out ot facade
Diffstat (limited to 'app/php/controls/UserSelection.php')
-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
+ );
}
}