From 1f221efc0743066f58e8bf00c69ae649efbf3a2e Mon Sep 17 00:00:00 2001 From: remicollet Date: Wed, 23 Dec 2009 07:35:53 +0000 Subject: [PATCH] usePlugin() => Plugin::load() git-svn-id: https://forge.glpi-project.org/svn/example/trunk@126 349b9182-4a13-0410-896f-e5e9767dd1b3 --- ajax/dropdown.tabs.php | 2 +- front/dropdown.form.php | 2 +- front/dropdown.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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");