[example] use registerPluginType

git-svn-id: https://forge.glpi-project.org/svn/example/trunk@64 349b9182-4a13-0410-896f-e5e9767dd1b3
This commit is contained in:
remicollet
2009-03-02 14:40:22 +00:00
parent cfbbc6eb99
commit 520e60a5d6
2 changed files with 11 additions and 2 deletions

View File

@ -43,7 +43,6 @@ if ($_SESSION["glpiactiveprofile"]["interface"] == "central"){
} else {
helpHeader("TITRE", $_SERVER['PHP_SELF']);
}
$_GET['target']=$_SERVER['PHP_SELF'];
checkTypeRight(PLUGIN_EXAMPLE_TYPE,"r");