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',