From b218f3ff0d9801d7c9a844fc790f4384f4b2659d Mon Sep 17 00:00:00 2001 From: remicollet Date: Tue, 23 Feb 2010 14:46:27 +0000 Subject: [PATCH] back to 0.78 git-svn-id: https://forge.glpi-project.org/svn/example/trunk@139 349b9182-4a13-0410-896f-e5e9767dd1b3 --- front/example.php | 3 ++- setup.php | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/front/example.php b/front/example.php index a00368b..1880f58 100755 --- a/front/example.php +++ b/front/example.php @@ -42,7 +42,8 @@ if ($_SESSION["glpiactiveprofile"]["interface"] == "central") { helpHeader("TITRE", $_SERVER['PHP_SELF']); } -checkTypeRight('PluginExampleExample',"r"); + +//checkTypeRight('PluginExampleExample',"r"); Search::show('PluginExampleExample'); diff --git a/setup.php b/setup.php index 2697a08..e4a755d 100755 --- a/setup.php +++ b/setup.php @@ -148,17 +148,17 @@ function plugin_version_example() { 'version' => '0.2.0', 'author' => 'Julien Dombre', 'homepage' => 'https://forge.indepnet.net/projects/show/example', - 'minGlpiVersion' => '0.80');// For compatibility / no install in version < 0.72 + 'minGlpiVersion' => '0.78');// For compatibility / no install in version < 0.72 } // Optional : check prerequisites before install : may print errors or add to message after redirect function plugin_example_check_prerequisites() { - if (GLPI_VERSION >= 0.80) { + if (GLPI_VERSION >= 0.78) { return true; } else { - echo "GLPI version not compatible need 0.80"; + echo "GLPI version not compatible need 0.78"; } }