summaryrefslogtreecommitdiff
path: root/program/steps/settings
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2012-08-29 08:32:06 +0200
committerAleksander Machniak <alec@alec.pl>2012-08-29 09:46:30 +0200
commit2b41a0e07efadd9374115a7fef96d06cb8f41b39 (patch)
treed9310da8de51cfa1f39f06b2f363587b49ea63f8 /program/steps/settings
parent579e0bd9d1a1e3a07ab0b951de9dce6896e205bb (diff)
Fix quota capability detection so it can be overwritten by a plugin (#1488655)
Diffstat (limited to 'program/steps/settings')
-rw-r--r--program/steps/settings/folders.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/program/steps/settings/folders.inc b/program/steps/settings/folders.inc
index 2d3a2c3c5..d299a9158 100644
--- a/program/steps/settings/folders.inc
+++ b/program/steps/settings/folders.inc
@@ -414,8 +414,10 @@ function rcmail_rename_folder($oldname, $newname)
$OUTPUT->set_pagetitle(rcube_label('folders'));
$OUTPUT->include_script('list.js');
-$OUTPUT->set_env('quota', $STORAGE->get_capability('QUOTA'));
$OUTPUT->set_env('prefix_ns', $STORAGE->get_namespace('prefix'));
+if ($STORAGE->get_capability('QUOTA')) {
+ $OUTPUT->set_env('quota', true);
+}
// add some labels to client
$OUTPUT->add_label('deletefolderconfirm', 'purgefolderconfirm', 'folderdeleting',