diff -r 5e7a0fedabdf -r 877f952ae2bd web/lib/Zend/Gdata/Docs.php --- a/web/lib/Zend/Gdata/Docs.php Thu Mar 21 17:31:31 2013 +0100 +++ b/web/lib/Zend/Gdata/Docs.php Thu Mar 21 19:50:53 2013 +0100 @@ -16,9 +16,9 @@ * @category Zend * @package Zend_Gdata * @subpackage Docs - * @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: Docs.php 20112 2010-01-07 02:39:32Z tjohns $ + * @version $Id: Docs.php 24593 2012-01-05 20:35:02Z matthew $ */ /** @@ -53,14 +53,14 @@ * @category Zend * @package Zend_Gdata * @subpackage Docs - * @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_Docs extends Zend_Gdata { - const DOCUMENTS_LIST_FEED_URI = 'http://docs.google.com/feeds/documents/private/full'; - const DOCUMENTS_FOLDER_FEED_URI = 'http://docs.google.com/feeds/folders/private/full'; + const DOCUMENTS_LIST_FEED_URI = 'https://docs.google.com/feeds/documents/private/full'; + const DOCUMENTS_FOLDER_FEED_URI = 'https://docs.google.com/feeds/folders/private/full'; const DOCUMENTS_CATEGORY_SCHEMA = 'http://schemas.google.com/g/2005#kind'; const DOCUMENTS_CATEGORY_TERM = 'http://schemas.google.com/docs/2007#folder'; const AUTH_SERVICE_NAME = 'writely'; @@ -162,7 +162,7 @@ * @return Zend_Gdata_Docs_DocumentListEntry */ public function getDoc($docId, $docType) { - $location = 'http://docs.google.com/feeds/documents/private/full/' . + $location = 'https://docs.google.com/feeds/documents/private/full/' . $docType . '%3A' . $docId; return $this->getDocumentListEntry($location); } @@ -215,7 +215,7 @@ * which are enumerated in SUPPORTED_FILETYPES. * @param string $uri (optional) The URL to which the upload should be * made. - * Example: 'http://docs.google.com/feeds/documents/private/full'. + * Example: 'https://docs.google.com/feeds/documents/private/full'. * @return Zend_Gdata_Docs_DocumentListEntry The entry for the newly * created Google Document. */ @@ -265,7 +265,7 @@ * the appropriate type doesn't exist yet. */ public function createFolder($folderName, $folderResourceId=null) { - $category = new Zend_Gdata_App_Extension_Category(self::DOCUMENTS_CATEGORY_TERM, + $category = new Zend_Gdata_App_Extension_Category(self::DOCUMENTS_CATEGORY_TERM, self::DOCUMENTS_CATEGORY_SCHEMA); $title = new Zend_Gdata_App_Extension_Title($folderName); $entry = new Zend_Gdata_Entry();