Skip to content

Commit

Permalink
Remove uses of obsolete cleanCache() method. See release fusioninvent…
Browse files Browse the repository at this point in the history
  • Loading branch information
Vincent MAZZONI committed Apr 29, 2010
1 parent a88acc6 commit 58b0f5c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion front/plugin_fusioninventory.uninstall.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
if (haveRight("config","w") && haveRight("profile","w")) {

if(TableExists("glpi_plugin_fusioninventory_config")) {
cleanCache("GLPI_HEADER_".$_SESSION["glpiID"]);
PluginFusioninventorySetup::uninstall();
unset($_SESSION["glpi_plugin_fusioninventory_installed"]);
}
Expand Down
1 change: 0 additions & 1 deletion inc/setup.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ static function install($version) {
if (!empty($sql_line)) $DB->query($sql_line)/* or die($DB->error())*/;
}

cleanCache("GLPI_HEADER_".$_SESSION["glpiID"]);
PluginFusioninventory::createfirstaccess($_SESSION['glpiactiveprofile']['ID']);
if (!is_dir(GLPI_PLUGIN_DOC_DIR.'/fusioninventory')) {
mkdir(GLPI_PLUGIN_DOC_DIR.'/fusioninventory');
Expand Down

0 comments on commit 58b0f5c

Please sign in to comment.