--- a/web/lib/Zend/Gdata/Gbase/Feed.php Sun Apr 21 10:07:03 2013 +0200
+++ b/web/lib/Zend/Gdata/Gbase/Feed.php Sun Apr 21 21:54:24 2013 +0200
@@ -16,12 +16,17 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gbase
- * @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: Feed.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: Feed.php 24777 2012-05-08 18:50:23Z adamlundrigan $
*/
/**
+ * @see Zend_Exception
+ */
+require_once 'Zend/Exception.php';
+
+/**
* @see Zend_Gdata_Feed
*/
require_once 'Zend/Gdata/Feed.php';
@@ -34,19 +39,12 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Gbase
- * @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_Gbase_Feed extends Zend_Gdata_Feed
{
/**
- * The classname for the feed.
- *
- * @var string
- */
- protected $_feedClassName = 'Zend_Gdata_Gbase_Feed';
-
- /**
* Create a new instance.
*
* @param DOMElement $element (optional) DOMElement from which this
@@ -54,7 +52,10 @@
*/
public function __construct($element = null)
{
- $this->registerAllNamespaces(Zend_Gdata_Gbase::$namespaces);
- parent::__construct($element);
+ throw new Zend_Exception(
+ 'Google Base API has been discontinued by Google and was removed'
+ . ' from Zend Framework in 1.12.0. For more information see: '
+ . 'http://googlemerchantblog.blogspot.ca/2010/12/new-shopping-apis-and-deprecation-of.html'
+ );
}
}