Web: Remove deprecated method `getMenu()`
This commit is contained in:
parent
8fc50645c4
commit
b1f723318f
|
@ -20,7 +20,6 @@ use Icinga\User;
|
|||
use Icinga\Util\DirectoryIterator;
|
||||
use Icinga\Util\TimezoneDetect;
|
||||
use Icinga\Web\Controller\Dispatcher;
|
||||
use Icinga\Web\Menu;
|
||||
use Icinga\Web\Navigation\Navigation;
|
||||
use Icinga\Web\Notification;
|
||||
use Icinga\Web\Session;
|
||||
|
@ -284,18 +283,6 @@ class Web extends EmbeddedWeb
|
|||
return $navigation;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the app's menu
|
||||
*
|
||||
* @deprecated Instantiate the returned class directly instead of using this method.
|
||||
*
|
||||
* @return Menu
|
||||
*/
|
||||
public function getMenu()
|
||||
{
|
||||
return new Menu();
|
||||
}
|
||||
|
||||
/**
|
||||
* Dispatch public interface
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue