From 5bfe174b5907440a4f08bd45fd9c384ab5c58037 Mon Sep 17 00:00:00 2001 From: emkael Date: Fri, 6 May 2016 15:35:54 +0200 Subject: * common super-class for template controls using a facade --- app/php/controls/UserSelection.php | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'app/php/controls/UserSelection.php') diff --git a/app/php/controls/UserSelection.php b/app/php/controls/UserSelection.php index 83c7bae..d215d7b 100644 --- a/app/php/controls/UserSelection.php +++ b/app/php/controls/UserSelection.php @@ -1,18 +1,10 @@ setViewState('Facade', $facade); - } - - public function getFacade() { - return $this->getViewState('Facade'); - } +class UserSelection extends FacadeTemplateControl { public function getUserToDisplay() { return $this->getControlState('user'); -- cgit v1.2.3