diff --git a/CHANGELOG.md b/CHANGELOG.md index b18f548a1..1a66f1b8f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,10 @@ - CSS Cleanup, removed central css styling [#528](https://github.com/nextcloud/cookbook/pull/528/) @seyfeb +### Removed +- Removal of old contoller no longer in use + [#536](https://github.com/nextcloud/cookbook/pull/536) @christianlupus + ## 0.7.10 - 2021-01-16 ### Fixed diff --git a/lib/Controller/SettingsController.php b/lib/Controller/SettingsController.php deleted file mode 100755 index a4fc1b2c1..000000000 --- a/lib/Controller/SettingsController.php +++ /dev/null @@ -1,49 +0,0 @@ -service = $service; - $this->userSession = $userSession; - } - - private function getUID() { - return $this->userSession->getUser()->getUID(); - } - - /** - * @NoAdminRequired - * @throws \OCP\PreConditionNotMetException - */ - public function set() { - $this->service->set( - $this->getUID(), - $this->request->getParams() - ); - return $this->get(); - } - - /** - * @NoAdminRequired - */ - public function get() { - return new JSONResponse($this->service->getAll($this->getUID())); - } -}