/** * Returns the app's navigation manager * * @return \OCP\INavigationManager */ public static function getNavigationManager() { if (self::$navigationManager === null) { self::$navigationManager = new \OC\NavigationManager(); } return self::$navigationManager; }
/** * Returns the app's navigation manager * * @return \OCP\INavigationManager */ public static function getNavigationManager() { // TODO: move this into a service in the Application class if (self::$navigationManager === null) { self::$navigationManager = new \OC\NavigationManager(); } return self::$navigationManager; }