diff --git a/ajax/dropdown.tabs.php b/ajax/dropdown.tabs.php index 888cec6..9e9cbc6 100644 --- a/ajax/dropdown.tabs.php +++ b/ajax/dropdown.tabs.php @@ -37,7 +37,7 @@ define('GLPI_ROOT', '../../..'); include (GLPI_ROOT . "/inc/includes.php"); -usePlugin('example',true); +Plugin::load('example',true); $dropdown = new PluginExampleDropdown(); include (GLPI_ROOT . "/ajax/dropdown.common.tabs.php"); diff --git a/front/dropdown.form.php b/front/dropdown.form.php index 9c6d061..5111693 100644 --- a/front/dropdown.form.php +++ b/front/dropdown.form.php @@ -37,7 +37,7 @@ define('GLPI_ROOT', '../../..'); include (GLPI_ROOT . "/inc/includes.php"); -usePlugin('example',true); +Plugin::load('example',true); $dropdown = new PluginExampleDropdown(); include (GLPI_ROOT . "/front/dropdown.common.form.php"); diff --git a/front/dropdown.php b/front/dropdown.php index 4a4d842..9f3f8c5 100644 --- a/front/dropdown.php +++ b/front/dropdown.php @@ -37,7 +37,7 @@ define('GLPI_ROOT', '../../..'); include (GLPI_ROOT . "/inc/includes.php"); -usePlugin('example',true); +Plugin::load('example',true); $dropdown = new PluginExampleDropdown(); include (GLPI_ROOT . "/front/dropdown.common.php");