diff options
author | emkael <emkael@tlen.pl> | 2016-04-14 13:16:47 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2016-04-14 13:16:47 +0200 |
commit | 769147bbd06dc8a95f24007eb8cba646a1002bb4 (patch) | |
tree | 673d8a89c44ea718a35da5cd021d074cca853a6a /app/php/controls/UserSelection.php | |
parent | abb76a1bb499d59dbdfd7f0f5d0ac60cb4d64f07 (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.php | 4 |
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 + ); } } |