Use non-deprecated call to add navigation entry
Signed-off-by: Morris Jobke <hey@morrisjobke.de>master
parent
1617f8156f
commit
fd2caada5c
|
@ -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',
|
||||
|
||||
|
|
Loading…
Reference in New Issue