summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-06-20 10:03:42 +0200
committerAleksander Machniak <alec@alec.pl>2014-06-20 10:03:42 +0200
commit90ab9f2847df8721c4eb65733eaa25712f1a3102 (patch)
tree7d2924fd000409cfc092a035c45694fad9174699
parentb97939c1022d95d2b698776a72186409b6f814d8 (diff)
Fix loading localization
-rw-r--r--plugins/password/password.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/password/password.php b/plugins/password/password.php
index 6c599bb4b..ad65616d2 100644
--- a/plugins/password/password.php
+++ b/plugins/password/password.php
@@ -57,6 +57,8 @@ class password extends rcube_plugin
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 @@ class password extends rcube_plugin
function password_init()
{
- $this->add_texts('localization/');
$this->register_handler('plugin.body', array($this, 'password_form'));
$rcmail = rcmail::get_instance();
@@ -103,7 +104,6 @@ class password extends rcube_plugin
function password_save()
{
- $this->add_texts('localization/');
$this->register_handler('plugin.body', array($this, 'password_form'));
$rcmail = rcmail::get_instance();