Merge pull request #261 from OnkarRuikar/patch-1
Fix `Class "OCP\App" not found` error
This commit is contained in:
commit
280cc90d27
1 changed files with 1 additions and 1 deletions
|
|
@ -2,7 +2,7 @@
|
|||
/** @var array $_ */
|
||||
/** @var OCP\IURLGenerator $urlGenerator */
|
||||
$urlGenerator = $_['urlGenerator'];
|
||||
$version = \OCP\App::getAppVersion('pdfdraw');
|
||||
$version = \OC::$server->getAppManager()->getAppVersion('pdfdraw');
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<!--
|
||||
|
|
|
|||
Loading…
Reference in a new issue