summaryrefslogtreecommitdiff
path: root/program/include/rcube_bc.inc
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2012-04-24 06:40:56 +0000
committerthomascube <thomas@roundcube.net>2012-04-24 06:40:56 +0000
commit988a80ad673ff77e2d3027098e245be8a15aaf33 (patch)
tree83e43d6996f1874626fe27d433cdbd50126e284d /program/include/rcube_bc.inc
parent19d5973247d1476a7c566692a412508638ff344d (diff)
Bring back some legacy functions and session vars for better backwards compatibility
Diffstat (limited to 'program/include/rcube_bc.inc')
-rw-r--r--program/include/rcube_bc.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/program/include/rcube_bc.inc b/program/include/rcube_bc.inc
index 40725b4ee..d416773fc 100644
--- a/program/include/rcube_bc.inc
+++ b/program/include/rcube_bc.inc
@@ -385,3 +385,8 @@ function rcube_idn_to_utf8($str)
{
return rcube_utils::idn_to_utf8($str);
}
+
+function send_future_expire_header($offset = 2600000)
+{
+ return rcmail::get_instance()->output->future_expire_header($offset);
+}