From b6bd7fe400f2c9b641ff97f3eb8411a779a0db84 Mon Sep 17 00:00:00 2001 From: Molkobain Date: Wed, 22 Sep 2021 13:46:22 +0200 Subject: [PATCH] Portal: Remove deprecated message for ItopExtensionsExtraRoutes as there is no alternative yet. YAML routes can only be declared by the core, not modules. --- .../portal/src/Routing/ItopExtensionsExtraRoutes.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/datamodels/2.x/itop-portal-base/portal/src/Routing/ItopExtensionsExtraRoutes.php b/datamodels/2.x/itop-portal-base/portal/src/Routing/ItopExtensionsExtraRoutes.php index 98771da39..88070e3a6 100644 --- a/datamodels/2.x/itop-portal-base/portal/src/Routing/ItopExtensionsExtraRoutes.php +++ b/datamodels/2.x/itop-portal-base/portal/src/Routing/ItopExtensionsExtraRoutes.php @@ -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__);