aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2023-05-31 21:15:51 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2023-06-01 11:31:27 +0200
commite76d525a43c639d9c32e66dc7bd93fc8cc3bb4e3 (patch)
treed993825893f4c435477018c5a13980c0bf87b0ab /apps
parentcf6e2fa1b79c63581aa145d0a7c7ee2051fbbde2 (diff)
downloadnextcloud-server-e76d525a43c639d9c32e66dc7bd93fc8cc3bb4e3.tar.gz
nextcloud-server-e76d525a43c639d9c32e66dc7bd93fc8cc3bb4e3.zip
chore: Drop \OC_App::getAppInfo
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'apps')
-rw-r--r--apps/updatenotification/lib/Notification/Notifier.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/updatenotification/lib/Notification/Notifier.php b/apps/updatenotification/lib/Notification/Notifier.php
index 9ce233ed721..add5437655f 100644
--- a/apps/updatenotification/lib/Notification/Notifier.php
+++ b/apps/updatenotification/lib/Notification/Notifier.php
@@ -26,6 +26,7 @@ declare(strict_types=1);
*/
namespace OCA\UpdateNotification\Notification;
+use OCP\App\IAppManager;
use OCP\IConfig;
use OCP\IGroupManager;
use OCP\IURLGenerator;
@@ -200,6 +201,6 @@ class Notifier implements INotifier {
}
protected function getAppInfo($appId, $languageCode) {
- return \OC_App::getAppInfo($appId, false, $languageCode);
+ return \OCP\Server::get(IAppManager::class)->getAppInfo($appId, false, $languageCode);
}
}