1
0
mirror of https://github.com/nerzhul/ocsms.git synced 2025-06-07 16:06:15 +00:00

Use non-deprecated call to add navigation entry (#209)

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
Morris Jobke 2017-11-24 12:23:23 +01:00 committed by Loïc Blot
parent f21f3b5939
commit bd562eae67

View File

@ -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',