--- a/web/lib/Zend/Gdata/Health/ProfileListFeed.php Thu Mar 21 17:31:31 2013 +0100
+++ b/web/lib/Zend/Gdata/Health/ProfileListFeed.php Thu Mar 21 19:50:53 2013 +0100
@@ -16,12 +16,17 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Health
- * @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: ProfileListFeed.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: ProfileListFeed.php 24779 2012-05-08 19:13:59Z adamlundrigan $
*/
/**
+ * @see Zend_Exception
+ */
+require_once 'Zend/Exception.php';
+
+/**
* @see Zend_Gdata_Feed
*/
require_once 'Zend/Gdata/Feed.php';
@@ -34,20 +39,17 @@
* @category Zend
* @package Zend_Gdata
* @subpackage Health
- * @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_Health_ProfileListFeed extends Zend_Gdata_Feed
{
- /**
- * The class name for individual profile feed elements.
- *
- * @var string
- */
- protected $_entryClassName = 'Zend_Gdata_Health_ProfileListEntry';
-
- public function getEntries()
+ public function __construct($element = null)
{
- return $this->entry;
+ throw new Zend_Exception(
+ 'Google Health API has been discontinued by Google and was removed'
+ . ' from Zend Framework in 1.12.0. For more information see: '
+ . 'http://googleblog.blogspot.ca/2011/06/update-on-google-health-and-google.html'
+ );
}
}