aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2018-06-05 17:27:14 +0200
committerJulius Härtl <jus@bitgrid.net>2018-06-06 11:40:09 +0200
commit29f1c9b7a2f7d622fb5737867fae89e42c150602 (patch)
tree72ec0d0c9054484cc5008752f6fd861ee800bcc8 /lib/private
parenta045159637cb9f6b4fee7e2850a23459f0c955b8 (diff)
downloadnextcloud-server-29f1c9b7a2f7d622fb5737867fae89e42c150602.tar.gz
nextcloud-server-29f1c9b7a2f7d622fb5737867fae89e42c150602.zip
Remove unneeded class
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'lib/private')
-rw-r--r--lib/private/App/AppStore/Manager.php41
1 files changed, 0 insertions, 41 deletions
diff --git a/lib/private/App/AppStore/Manager.php b/lib/private/App/AppStore/Manager.php
deleted file mode 100644
index 4498918da70..00000000000
--- a/lib/private/App/AppStore/Manager.php
+++ /dev/null
@@ -1,41 +0,0 @@
-<?php
-/**
- * @copyright Copyright (c) 2018 Julius Härtl <jus@bitgrid.net>
- *
- * @author Julius Härtl <jus@bitgrid.net>
- *
- * @license GNU AGPL version 3 or any later version
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- */
-
-namespace OC\App\AppStore;
-
-
-use OC\App\AppStore\Fetcher\AppFetcher;
-
-class Manager {
-
- public function __construct(AppFetcher $appFetcher) {
- $apps = $appFetcher->get();
- foreach ($apps as $app) {
- $this->apps[$app['id']] = $app;
- }
- }
-
- public function getApp(string $appId) {
- return $this->apps[$appId];
- }
-} \ No newline at end of file