diff options
author | Aleksander Machniak <alec@alec.pl> | 2012-08-29 08:32:06 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2012-08-29 08:32:06 +0200 |
commit | 46d0012e26d18b1a780ff71cd8aa2f04e6c4a11b (patch) | |
tree | 34fa3ae262edf32388c279db8553ffd112eaf8a9 /program/steps/settings | |
parent | 528113069db7734cc6a85557291cc9f3c8d8bb91 (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.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/program/steps/settings/folders.inc b/program/steps/settings/folders.inc index 2c2cbdcc2..6ca704998 100644 --- a/program/steps/settings/folders.inc +++ b/program/steps/settings/folders.inc @@ -411,8 +411,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', |