--- a/web/lib/Zend/Gdata/AuthSub.php Thu Mar 21 17:31:31 2013 +0100
+++ b/web/lib/Zend/Gdata/AuthSub.php Thu Mar 21 19:50:53 2013 +0100
@@ -16,9 +16,9 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gdata
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: AuthSub.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: AuthSub.php 24593 2012-01-05 20:35:02Z matthew $
*/
/**
@@ -40,7 +40,7 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gdata
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Gdata_AuthSub
@@ -169,6 +169,7 @@
try {
$response = $client->request('GET');
} catch (Zend_Http_Client_Exception $e) {
+ ob_end_clean();
require_once 'Zend/Gdata/App/HttpException.php';
throw new Zend_Gdata_App_HttpException($e->getMessage(), $e);
}
@@ -210,6 +211,7 @@
try {
$response = $client->request('GET');
} catch (Zend_Http_Client_Exception $e) {
+ ob_end_clean();
require_once 'Zend/Gdata/App/HttpException.php';
throw new Zend_Gdata_App_HttpException($e->getMessage(), $e);
}
@@ -229,9 +231,9 @@
if ($client == null) {
$client = new Zend_Gdata_HttpClient();
}
- if (!$client instanceof Zend_Http_Client) {
+ if (!$client instanceof Zend_Gdata_HttpClient) {
require_once 'Zend/Gdata/App/HttpException.php';
- throw new Zend_Gdata_App_HttpException('Client is not an instance of Zend_Http_Client.');
+ throw new Zend_Gdata_App_HttpException('Client is not an instance of Zend_Gdata_HttpClient.');
}
$useragent = 'Zend_Framework_Gdata/' . Zend_Version::VERSION;
$client->setConfig(array(