- Expand app information section.
[grauphel.git] / appinfo / app.php
index 704b2c77250346bb924a538c0f26a2296d421fca..d78a9bb2b681c6001b88fa34e229e66563c7c2d6 100755 (executable)
@@ -1,12 +1,10 @@
 <?php
-//OCP\App::registerAdmin( 'apptemplate', 'settings' );
-
-OCP\App::addNavigationEntry(
+\OC::$server->getNavigationManager()->add(
     array( 
         'id' => 'grauphel',
         'order' => 2342,
         'href' => \OCP\Util::linkToRoute('grauphel.gui.index'),
-        'icon' => OCP\Util::imagePath('grauphel', 'tomboy-grey.png'),
+        'icon' => \OCP\Util::imagePath('grauphel', 'app.svg'),
         'name' => 'Tomboy notes'
     )
 );