mirror of
https://github.com/nerzhul/ocsms.git
synced 2025-06-08 00:16:24 +00:00
Use non-deprecated call to add navigation entry (#209)
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
parent
f21f3b5939
commit
bd562eae67
@ -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',
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user