From 7730c3c840a2e0a7c11c8e8918c1a28d05fed2be Mon Sep 17 00:00:00 2001 From: Holger Trampe Date: Sat, 23 Oct 2021 17:03:56 +0200 Subject: [PATCH] back --- lib/Controller/PublicController.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/Controller/PublicController.php b/lib/Controller/PublicController.php index caa28a5..9c1c7cb 100644 --- a/lib/Controller/PublicController.php +++ b/lib/Controller/PublicController.php @@ -20,15 +20,13 @@ class PublicController extends OCSController { protected $request; protected $connection; protected $groupManager; - protected $userManager; - public function __construct(string $AppName, IRequest $request, IUserSession $userSession,IDBConnection $connection, IGroupManager $groupManager, IUserManager $userManager){ + public function __construct(string $AppName, IRequest $request, IUserSession $userSession,IDBConnection $connection, IGroupManager $groupManager){ parent::__construct($AppName, $request); $this->userSession = $userSession; $this->request = $request; $this->connection = $connection; $this->groupManager = $groupManager; - $this->userManager = $userManager; } /** @@ -101,6 +99,5 @@ class PublicController extends OCSController { $this->groupManager->get($id)->setDisplayName($name); return new DataResponse(array("data" => $name." ".$id)); } - }