diff options
author | brantje <brantje@gmail.com> | 2016-10-08 01:20:02 +0300 |
---|---|---|
committer | brantje <brantje@gmail.com> | 2016-10-08 01:20:02 +0300 |
commit | 3afc3c9c9c8ac7e9c833f349cb4e8415a55ed142 (patch) | |
tree | 89cb3babf39d852332a7610aee296d0ffa764c74 /controller/internalcontroller.php | |
parent | 2c40097036adf54c07f6c7e4cd3c376d158e911f (diff) |
Fix OC_App - private class must not be instantiated
Diffstat (limited to 'controller/internalcontroller.php')
-rw-r--r-- | controller/internalcontroller.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/controller/internalcontroller.php b/controller/internalcontroller.php index b54f4f4b..a7174b29 100644 --- a/controller/internalcontroller.php +++ b/controller/internalcontroller.php @@ -67,8 +67,8 @@ class InternalController extends ApiController { * @NoAdminRequired */ public function getAppVersion() { - $app = new \OC_App(); - return new JSONResponse(array('version' => $app->getAppVersion('passman'))); + //$app = new \OC_App(); + return new JSONResponse(array('version' => '1.0.2.24')); } /** |