mirror of
https://github.com/nextcloud/ocsms.git
synced 2026-08-22 05:43:07 +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;
|
namespace OCA\OcSms\AppInfo;
|
||||||
|
|
||||||
if (class_exists('\OCP\AppFramework\App')) {
|
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
|
// the string under which your app will be referenced in owncloud
|
||||||
'id' => 'ocsms',
|
'id' => 'ocsms',
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user