From 60226a75d8e4a3ee9504da6eab6d8f329bb32e7b Mon Sep 17 00:00:00 2001
From: Thomas Bruederli <thomas@roundcube.net>
Date: Tue, 27 Nov 2012 06:13:33 -0500
Subject: [PATCH] Separate the very application-specific output classes from the Roundcube framework; add autoloader for rmail* classes
---
program/include/rcmail_output_json.php | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/program/lib/Roundcube/rcube_output_json.php b/program/include/rcmail_output_json.php
similarity index 96%
rename from program/lib/Roundcube/rcube_output_json.php
rename to program/include/rcmail_output_json.php
index fcd52c7..22edce9 100644
--- a/program/lib/Roundcube/rcube_output_json.php
+++ b/program/include/rcmail_output_json.php
@@ -2,7 +2,7 @@
/*
+-----------------------------------------------------------------------+
- | program/include/rcube_output_json.php |
+ | program/include/rc,ai�_output_json.php |
| |
| This file is part of the Roundcube Webmail client |
| Copyright (C) 2008-2012, The Roundcube Dev Team |
@@ -23,10 +23,10 @@
/**
* View class to produce JSON responses
*
- * @package Framework
+ * @package Core
* @subpackage View
*/
-class rcube_output_json extends rcube_output
+class rcmail_output_json extends rcmail_output
{
protected $texts = array();
protected $commands = array();
@@ -158,7 +158,7 @@
{
$location = $this->app->url($p);
$this->remote_response(sprintf("window.setTimeout(function(){ %s.redirect('%s',true); }, %d);",
- rcmail::JS_OBJECT_NAME, $location, $delay));
+ self::JS_OBJECT_NAME, $location, $delay));
exit;
}
--
Gitblit v1.9.1