aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJoas Schilling <213943+nickvergessen@users.noreply.github.com>2023-06-01 16:45:45 +0200
committerGitHub <noreply@github.com>2023-06-01 16:45:45 +0200
commit1a3bb23a3791d20b5f29ee6c1a6ecd850ecf9aac (patch)
tree8b3c6abe8cb598e6a2a1e86ddcd6d743459c7805 /apps
parent63e7ac4f3acb540065c67593338d357123665fd1 (diff)
parent999aec366a7f78288bd2f993e84426debcc59cae (diff)
downloadnextcloud-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.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);
}
}