summaryrefslogtreecommitdiff
path: root/plugins/archive/archive.php
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-06-12 10:06:16 +0200
committerAleksander Machniak <alec@alec.pl>2013-06-12 10:06:16 +0200
commit22d48c269795d040da06c060151c74b1a7063107 (patch)
tree887d2ff7a9f1580d66fc5323bfe715bbf7fce622 /plugins/archive/archive.php
parentc6a173f7f798163c17ab028dc81b2ad7d7f456d1 (diff)
Use global show_real_foldername setting instead archive_localize_name
Diffstat (limited to 'plugins/archive/archive.php')
-rw-r--r--plugins/archive/archive.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/archive/archive.php b/plugins/archive/archive.php
index 38b4f9fcb..7a81606ab 100644
--- a/plugins/archive/archive.php
+++ b/plugins/archive/archive.php
@@ -41,7 +41,7 @@ class archive extends rcube_plugin
'domain' => $this->ID,
),
'toolbar');
-
+
// register hook to localize the archive folder
$this->add_hook('render_mailboxlist', array($this, 'render_mailboxlist'));
@@ -75,10 +75,10 @@ class archive extends rcube_plugin
{
$rcmail = rcmail::get_instance();
$archive_folder = $rcmail->config->get('archive_mbox');
- $localize_name = $rcmail->config->get('archive_localize_name', true);
+ $show_real_name = $rcmail->config->get('show_real_foldernames');
// set localized name for the configured archive folder
- if ($archive_folder && $localize_name) {
+ if ($archive_folder && !$show_real_name) {
if (isset($p['list'][$archive_folder]))
$p['list'][$archive_folder]['name'] = $this->gettext('archivefolder');
else // search in subfolders