Web: Remove deprecated method `getMenu()`

This commit is contained in:
Sukhwinder Dhillon 2022-05-02 15:08:16 +02:00 committed by Johannes Meyer
parent 8fc50645c4
commit b1f723318f
1 changed files with 0 additions and 13 deletions

View File

@ -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
*/