Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/apporder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulius Haertl <jus@bitgrid.net>2016-09-06 14:02:40 +0300
committerJulius Haertl <jus@bitgrid.net>2016-09-06 14:02:40 +0300
commit2fc0b8c0342f1fcc3dca684a4da00074cfb60263 (patch)
tree36b9c41a8326bee1416ac7bfb25924fe8084aa36
parenta54e2d9536941b8f1d9985ace462726f675b081e (diff)
Fix blank admin page
-rw-r--r--admin.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/admin.php b/admin.php
index 2268446..19c2285 100644
--- a/admin.php
+++ b/admin.php
@@ -23,8 +23,5 @@
namespace OCA\AppOrder;
-use \OCA\AppOrder\AppInfo\Application;
-
-$app = new Application(array());
-$response = $app->getContainer()->query('\OCA\AppOrder\Controller\SettingsController')->adminIndex();
+$response = \OC::$server->query('\OCA\AppOrder\Controller\SettingsController')->adminIndex();
return $response->render();