Use non-deprecated call to add navigation entry

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
master
Morris Jobke 2017-11-24 11:04:47 +01:00
parent 1617f8156f
commit fd2caada5c
No known key found for this signature in database
GPG Key ID: FE03C3A163FEDE68
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',