From fd2caada5c35c826c09c4084b3ebc8058e288894 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Fri, 24 Nov 2017 11:04:47 +0100 Subject: [PATCH] Use non-deprecated call to add navigation entry Signed-off-by: Morris Jobke --- appinfo/app.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appinfo/app.php b/appinfo/app.php index 0c95bba..cf28a32 100644 --- a/appinfo/app.php +++ b/appinfo/app.php @@ -12,7 +12,7 @@ namespace OCA\Weather\AppInfo; if (class_exists('\OCP\AppFramework\App')) { - \OCP\App::addNavigationEntry(array( + \OC::$server->getNavigationManager()->add(array( // the string under which your app will be referenced in owncloud 'id' => 'weather',