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

github.com/nextcloud/passman.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrantje <brantje@gmail.com>2016-10-08 01:20:02 +0300
committerbrantje <brantje@gmail.com>2016-10-08 01:20:02 +0300
commit3afc3c9c9c8ac7e9c833f349cb4e8415a55ed142 (patch)
tree89cb3babf39d852332a7610aee296d0ffa764c74 /controller/internalcontroller.php
parent2c40097036adf54c07f6c7e4cd3c376d158e911f (diff)
Fix OC_App - private class must not be instantiated
Diffstat (limited to 'controller/internalcontroller.php')
-rw-r--r--controller/internalcontroller.php4
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'));
}
/**