From 90ab9f2847df8721c4eb65733eaa25712f1a3102 Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Fri, 20 Jun 2014 04:03:42 -0400
Subject: [PATCH] Fix loading localization
---
plugins/password/password.php | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/plugins/password/password.php b/plugins/password/password.php
index 6c599bb..ad65616 100644
--- a/plugins/password/password.php
+++ b/plugins/password/password.php
@@ -57,6 +57,8 @@
return;
}
+ $this->add_texts('localization/');
+
$this->add_hook('settings_actions', array($this, 'settings_actions'));
$this->register_action('plugin.password', array($this, 'password_init'));
@@ -88,7 +90,6 @@
function password_init()
{
- $this->add_texts('localization/');
$this->register_handler('plugin.body', array($this, 'password_form'));
$rcmail = rcmail::get_instance();
@@ -103,7 +104,6 @@
function password_save()
{
- $this->add_texts('localization/');
$this->register_handler('plugin.body', array($this, 'password_form'));
$rcmail = rcmail::get_instance();
--
Gitblit v1.9.1