Small fix

This commit is contained in:
brantje 2016-12-21 17:49:29 +01:00
parent 88c69cc9d5
commit a57e60ee4c
No known key found for this signature in database
GPG key ID: 5FF1D117F918687F

View file

@ -67,7 +67,8 @@ class InternalController extends ApiController {
* @NoAdminRequired
*/
public function getAppVersion() {
return new JSONResponse(array('version' => \OC_App::getAppVersion('passman')));
$app = new \OC_App();
return new JSONResponse(array('version' => $app->getAppVersion('passman')));
}
/**