summaryrefslogtreecommitdiff
path: root/roundcubemail/program/include/rcube_bc.inc
diff options
context:
space:
mode:
authorthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2012-04-24 06:40:56 +0000
committerthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2012-04-24 06:40:56 +0000
commit96360879a89f2fcfadf65395b60e8689fa47b2ac (patch)
treeafc8e4f130d02fbe8e3e88860ae290c0e5c6e4dd /roundcubemail/program/include/rcube_bc.inc
parent7414e58ffe428407cc6594340f8ef728f0f58bd6 (diff)
Bring back some legacy functions and session vars for better backwards compatibility
git-svn-id: https://svn.roundcube.net/trunk@6121 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include/rcube_bc.inc')
-rw-r--r--roundcubemail/program/include/rcube_bc.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/roundcubemail/program/include/rcube_bc.inc b/roundcubemail/program/include/rcube_bc.inc
index 40725b4ee..d416773fc 100644
--- a/roundcubemail/program/include/rcube_bc.inc
+++ b/roundcubemail/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);
+}