summaryrefslogtreecommitdiff
path: root/program/steps/error.inc
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2008-04-30 14:07:29 +0000
committerthomascube <thomas@roundcube.net>2008-04-30 14:07:29 +0000
commit4c6b662feb017e3f645bb7102dadeac9b0edffa8 (patch)
tree0e3090703596921a6b730260a684c0a66315f688 /program/steps/error.inc
parent3510d7bf0a58084dd950f5e1dabf5042500cf412 (diff)
Simply use reset() to clear the state vars of rcube_html_page; reverted r1346
Diffstat (limited to 'program/steps/error.inc')
-rw-r--r--program/steps/error.inc3
1 files changed, 1 insertions, 2 deletions
diff --git a/program/steps/error.inc b/program/steps/error.inc
index 4a151d49c..5cde93cfc 100644
--- a/program/steps/error.inc
+++ b/program/steps/error.inc
@@ -99,8 +99,7 @@ EOF;
if (template_exists('error'))
{
- $OUTPUT->scripts = array();
- $OUTPUT->script_files = array();
+ $OUTPUT->reset();
$OUTPUT->send('error');
}