aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/c13y_upgrade/initialize.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/c13y_upgrade/initialize.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/c13y_upgrade/initialize.inc.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/c13y_upgrade/initialize.inc.php b/plugins/c13y_upgrade/initialize.inc.php
index aa8428b31..df53d01db 100644
--- a/plugins/c13y_upgrade/initialize.inc.php
+++ b/plugins/c13y_upgrade/initialize.inc.php
@@ -33,10 +33,10 @@ add_event_handler('get_check_integrity', 'c13y_upgrade');
function c13y_upgrade($c13y_array)
{
- global $lang, $conf;
+ global $conf;
+
+ load_language('plugin.lang', dirname(__FILE__).'/');
- include(get_language_filepath('plugin.lang.php', dirname(__FILE__).'/'));
-
$result = array();
/* Check user with same e-mail */
@@ -61,7 +61,7 @@ limit 0,1
/* Check if this plugin must deactivate */
if (count($result) === 0)
{
- $deactivate_msg_link =
+ $deactivate_msg_link =
'<a href="'.
PHPWG_ROOT_PATH.
'admin.php?page=plugins&amp;plugin=c13y_upgrade&amp;action=deactivate'.