summaryrefslogtreecommitdiff
path: root/program/include/main.inc
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2008-10-05 07:18:15 +0000
committeralecpl <alec@alec.pl>2008-10-05 07:18:15 +0000
commit112c9133bb8dc3b4e8f1d47241fa57c86dd5065c (patch)
tree4bc8e1e6930476da762858f740f2bc2e3d094cd6 /program/include/main.inc
parent1bb65410286e18adbb0172070443d05638201afb (diff)
- removed deprecated rcube_add_label() and all uses
- code for 'show' action added in r1937 moved to show.inc
Diffstat (limited to 'program/include/main.inc')
-rw-r--r--program/include/main.inc17
1 files changed, 1 insertions, 16 deletions
diff --git a/program/include/main.inc b/program/include/main.inc
index 23c2c2822..ee847470b 100644
--- a/program/include/main.inc
+++ b/program/include/main.inc
@@ -133,20 +133,6 @@ function rcmail_url($action, $p=array(), $task=null)
/**
- * Add a localized label to the client environment
- * @deprecated
- */
-function rcube_add_label()
- {
- global $OUTPUT;
-
- $arg_list = func_get_args();
- foreach ($arg_list as $i => $name)
- $OUTPUT->add_label($name);
- }
-
-
-/**
* Garbage collector function for temp files.
* Remove temp files older than two days
*/
@@ -913,8 +899,7 @@ function rcmail_mailbox_list($attrib)
$attrib += array('maxlength' => 100, 'relanames' => false);
// add some labels to client
- rcube_add_label('purgefolderconfirm');
- rcube_add_label('deletemessagesconfirm');
+ $RCMAIL->output->add_label('purgefolderconfirm', 'deletemessagesconfirm');
$type = $attrib['type'] ? $attrib['type'] : 'ul';
unset($attrib['type']);