function plugin_reports_uninstall() { global $DB; // No autoload when plugin is not activated (if dessactivation before uninstall) include_once GLPI_ROOT . "/plugins/reports/inc/profile.class.php"; return PluginReportsProfile::uninstall(); }
function plugin_reports_uninstall() { global $DB; // No autoload when plugin is not activated require 'inc/profile.class.php'; return PluginReportsProfile::uninstall(); }