diff options
author | Julius Haertl <jus@bitgrid.net> | 2016-09-06 14:02:40 +0300 |
---|---|---|
committer | Julius Haertl <jus@bitgrid.net> | 2016-09-06 14:02:40 +0300 |
commit | 2fc0b8c0342f1fcc3dca684a4da00074cfb60263 (patch) | |
tree | 36b9c41a8326bee1416ac7bfb25924fe8084aa36 | |
parent | a54e2d9536941b8f1d9985ace462726f675b081e (diff) |
Fix blank admin page
-rw-r--r-- | admin.php | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -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(); |