Merge pull request #51 from nextcloud/use-non-deprecated-call
Use non-deprecated call to add navigation entrymaster
commit
809eb4f4a6
|
@ -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