From 85e60ada1558798669b29225aa530b4ba9310cdc Mon Sep 17 00:00:00 2001 From: Thomas Bruederli Date: Sun, 10 Nov 2013 14:04:33 +0100 Subject: First version of the local storage compose data saving feature; some behavioral improvements and encrytion are still to be added --- program/include/rcmail.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'program/include/rcmail.php') diff --git a/program/include/rcmail.php b/program/include/rcmail.php index 4b3f13760..8abe87303 100644 --- a/program/include/rcmail.php +++ b/program/include/rcmail.php @@ -413,6 +413,9 @@ class rcmail extends rcube $this->output->set_env('comm_path', $this->comm_path); $this->output->set_charset(RCUBE_CHARSET); + if ($this->user && $this->user->ID) + $this->output->set_env('user_id', $this->user->get_hash()); + // add some basic labels to client $this->output->add_label('loading', 'servererror', 'requesttimedout', 'refreshing'); -- cgit v1.2.3