mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
Portal: Remove deprecated message for ItopExtensionsExtraRoutes as there is no alternative yet.
YAML routes can only be declared by the core, not modules.
This commit is contained in:
@@ -41,14 +41,6 @@ class ItopExtensionsExtraRoutes
|
||||
*/
|
||||
public static function AddRoutes($extraRoutes)
|
||||
{
|
||||
@trigger_error(
|
||||
sprintf(
|
||||
'Usage of legacy route "%s" is deprecated. You should declare routes in YAML format.',
|
||||
__FILE__
|
||||
),
|
||||
E_USER_DEPRECATED
|
||||
);
|
||||
|
||||
if (!is_array($extraRoutes))
|
||||
{
|
||||
throw new Exception('Only array are allowed as parameter to '.__METHOD__);
|
||||
|
||||
Reference in New Issue
Block a user