diff -r 5e7a0fedabdf -r 877f952ae2bd web/lib/Zend/Gdata/Gbase/SnippetQuery.php --- a/web/lib/Zend/Gdata/Gbase/SnippetQuery.php Thu Mar 21 17:31:31 2013 +0100 +++ b/web/lib/Zend/Gdata/Gbase/SnippetQuery.php Thu Mar 21 19:50:53 2013 +0100 @@ -16,20 +16,15 @@ * @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: SnippetQuery.php 20096 2010-01-06 02:05:09Z bkarwin $ + * @version $Id: SnippetQuery.php 24777 2012-05-08 18:50:23Z adamlundrigan $ */ /** - * Zend_Gdata_Query + * @see Zend_Gdata_Gbase_Query */ -require_once('Zend/Gdata/Query.php'); - -/** - * Zend_Gdata_Gbase_Query - */ -require_once('Zend/Gdata/Gbase/Query.php'); +require_once 'Zend/Gdata/Gbase/Query.php'; /** * Assists in constructing queries for Google Base Snippets Feed @@ -39,7 +34,7 @@ * @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_SnippetQuery extends Zend_Gdata_Gbase_Query @@ -47,28 +42,5 @@ /** * Path to the snippets feeds on the Google Base server. */ - const BASE_SNIPPET_FEED_URI = 'http://www.google.com/base/feeds/snippets'; - - /** - * The default URI for POST methods - * - * @var string - */ - protected $_defaultFeedUri = self::BASE_SNIPPET_FEED_URI; - - /** - * Returns the query URL generated by this query instance. - * - * @return string The query URL for this instance. - */ - public function getQueryUrl() - { - $uri = $this->_defaultFeedUri; - if ($this->getCategory() !== null) { - $uri .= '/-/' . $this->getCategory(); - } - $uri .= $this->getQueryString(); - return $uri; - } - + const BASE_SNIPPET_FEED_URI = 'https://www.google.com/base/feeds/snippets'; }