Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 74cb3a2c authored by Nextgen-Networks's avatar Nextgen-Networks
Browse files

removed deprecated OCP\App calls

parent 0616d8b7
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -23,14 +23,6 @@ OCP\Util::connectHook('OC_User', 'logout', 'OC_RainLoop_Helper', 'logout');

OCP\Util::addScript('rainloop', 'rainloop');

OCP\App::addNavigationEntry(array(
	'id' => 'rainloop_index',
	'order' => 10,
	'href' => OCP\Util::linkToRoute('rainloop_index'),
	'icon' => OCP\Util::imagePath('rainloop', 'mail.png'),
	'name' => 'Email'
));

\OC::$server->getNavigationManager()->add(array(
	'id' => 'rainloop_index',
	'order' => 10,
+0 −1
Original line number Diff line number Diff line
@@ -10,7 +10,6 @@

OCP\User::checkLoggedIn();
OCP\App::checkAppEnabled('rainloop');
OCP\App::setActiveNavigationEntry('rainloop_index');
\OC::$server->getNavigationManager()->setActiveEntry('rainloop_index');

// Load the empty file ../css/style.css, that's needed to allow theming of