From 6932d609bf0f3d19fe7f64d82e8f06b522251321 Mon Sep 17 00:00:00 2001 From: Stanislas Date: Thu, 26 Jun 2025 16:30:12 +0200 Subject: [PATCH] Feature GLP11 --- plugin.xml | 4 +--- setup.php.tpl | 6 ++---- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/plugin.xml b/plugin.xml index a942825..a459415 100644 --- a/plugin.xml +++ b/plugin.xml @@ -29,9 +29,7 @@ {VERSION} - 9.4 - 9.3 - 9.2 + ~11.0.0 diff --git a/setup.php.tpl b/setup.php.tpl index bba7014..5746625 100644 --- a/setup.php.tpl +++ b/setup.php.tpl @@ -32,9 +32,9 @@ define('PLUGIN_{UNAME}_VERSION', '{VERSION}'); // Minimal GLPI version, inclusive -define("PLUGIN_{UNAME}_MIN_GLPI_VERSION", "10.0.0"); +define("PLUGIN_{UNAME}_MIN_GLPI_VERSION", "11.0.0"); // Maximum GLPI version, exclusive -define("PLUGIN_{UNAME}_MAX_GLPI_VERSION", "10.0.99"); +define("PLUGIN_{UNAME}_MAX_GLPI_VERSION", "11.0.99"); /** * Init hooks of the plugin. @@ -45,8 +45,6 @@ define("PLUGIN_{UNAME}_MAX_GLPI_VERSION", "10.0.99"); function plugin_init_{LNAME}() { global $PLUGIN_HOOKS; - - $PLUGIN_HOOKS['csrf_compliant']['{LNAME}'] = true; }