diff options
author | Joas Schilling <213943+nickvergessen@users.noreply.github.com> | 2023-06-01 16:45:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-01 16:45:45 +0200 |
commit | 1a3bb23a3791d20b5f29ee6c1a6ecd850ecf9aac (patch) | |
tree | 8b3c6abe8cb598e6a2a1e86ddcd6d743459c7805 /apps | |
parent | 63e7ac4f3acb540065c67593338d357123665fd1 (diff) | |
parent | 999aec366a7f78288bd2f993e84426debcc59cae (diff) | |
download | nextcloud-server-1a3bb23a3791d20b5f29ee6c1a6ecd850ecf9aac.tar.gz nextcloud-server-1a3bb23a3791d20b5f29ee6c1a6ecd850ecf9aac.zip |
Merge pull request #38566 from nextcloud/chore/drop-oc-app-methods
Drop \OC_App methods deprecated in Nextcloud 14
Diffstat (limited to 'apps')
-rw-r--r-- | apps/updatenotification/lib/Notification/Notifier.php | 3 |
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); } } |