From be98dfc2c0bdc4f911c6daa94e3fddc29afc89a8 Mon Sep 17 00:00:00 2001 From: alecpl Date: Mon, 16 Apr 2012 11:59:08 +0000 Subject: - Replace some references to rcmail with rcube --- program/include/rcube_output_json.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'program/include/rcube_output_json.php') diff --git a/program/include/rcube_output_json.php b/program/include/rcube_output_json.php index 1d9d6edf6..d48dd35c1 100644 --- a/program/include/rcube_output_json.php +++ b/program/include/rcube_output_json.php @@ -170,7 +170,7 @@ class rcube_output_json extends rcube_output */ public function redirect($p = array(), $delay = 1) { - $location = rcmail::get_instance()->url($p); + $location = $this->app->url($p); $this->remote_response(sprintf("window.setTimeout(function(){ %s.redirect('%s',true); }, %d);", rcmail::JS_OBJECT_NAME, $location, $delay)); exit; -- cgit v1.2.3