Merge pull request #51 from nextcloud/use-non-deprecated-call

Use non-deprecated call to add navigation entry
master
Loïc Blot 2017-11-24 12:22:48 +01:00 committed by GitHub
commit 809eb4f4a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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