fix bug where getUsersService is declared twice

This commit is contained in:
zebardy 2020-02-18 22:46:31 +00:00
parent b6be442fb9
commit 6d049185cf

View File

@ -145,22 +145,7 @@ class BaseController
protected function getUserfieldsService()
{
if($this->userfieldsService == null)
{
$this->userfieldsService = new UserfieldsService();
}
return $this->userfieldsService;
}
private $usersService = null;
protected function getUsersService()
{
if($this->usersService == null)
{
$this->usersService = new UsersService();
}
return $this->usersService;
return UserfieldsService::getInstance();
}
protected $AppContainer;