aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/add_index/main.admin.inc.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--plugins/add_index/main.admin.inc.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/add_index/main.admin.inc.php b/plugins/add_index/main.admin.inc.php
index 2b56b08a5..0e1876b29 100644
--- a/plugins/add_index/main.admin.inc.php
+++ b/plugins/add_index/main.admin.inc.php
@@ -50,9 +50,7 @@ class AdminAddIndex extends AddIndex
function loading_lang()
{
- global $lang;
-
- include(get_language_filepath('plugin.lang.php', $this->path));
+ load_language('plugin.lang', $this->path);
}
function get_admin_advanced_features_links($advanced_features)