Fix Class "OCP\App" not found error

- Fixes #187
This commit is contained in:
Onkar Ruikar 2023-06-17 15:52:33 +05:30 committed by GitHub
parent 2b2c1d287e
commit a761f40c5c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,7 +2,7 @@
/** @var array $_ */ /** @var array $_ */
/** @var OCP\IURLGenerator $urlGenerator */ /** @var OCP\IURLGenerator $urlGenerator */
$urlGenerator = $_['urlGenerator']; $urlGenerator = $_['urlGenerator'];
$version = \OCP\App::getAppVersion('pdfdraw'); $version = \OC::$server->getAppManager()->getAppVersion('pdfdraw');
?> ?>
<!DOCTYPE html> <!DOCTYPE html>
<!-- <!--