mirror of
https://github.com/nextcloud/ocsms.git
synced 2026-08-11 16:32:55 +00:00
Use non-deprecated call to add navigation entry (#209)
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
+1
-1
@@ -12,7 +12,7 @@
|
||||
namespace OCA\OcSms\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' => 'ocsms',
|
||||
|
||||
|
||||
Reference in New Issue
Block a user