chore: Drop \OC_App::getSettingsNavigation
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
parent
167763d312
commit
999aec366a
|
@ -394,19 +394,6 @@ class OC_App {
|
|||
return isset($appData['version']) ? $appData['version'] : '';
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the Settings Navigation
|
||||
*
|
||||
* @return string[]
|
||||
* @deprecated 14.0.0 use \OC::$server->getNavigationManager()->getAll('settings')
|
||||
*
|
||||
* This function returns an array containing all settings pages added. The
|
||||
* entries are sorted by the key 'order' ascending.
|
||||
*/
|
||||
public static function getSettingsNavigation(): array {
|
||||
return OC::$server->getNavigationManager()->getAll('settings');
|
||||
}
|
||||
|
||||
/**
|
||||
* get the id of loaded app
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue