aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/add_index/main.admin.inc.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2007-10-08 23:46:09 +0000
committerrvelices <rv-github@modusoptimus.com>2007-10-08 23:46:09 +0000
commit98b07a4a7fa1baff52800f70066f311768904430 (patch)
tree4bc89e8017f5fced16a6de6d4c8b37639caccff8 /plugins/add_index/main.admin.inc.php
parent5132cc1f87025bd17d6bd90e5ac8ad73288bf482 (diff)
- some code refactoring before upgrade to utf (only cosmetic at this point...)
git-svn-id: http://piwigo.org/svn/trunk@2126 68402e56-0260-453c-a942-63ccdbb3a9ee
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)