ZF-7101: Cannot call include_once('Zend/Gdata/App.php') before calling include_once('Zend/Gdata.php')


In the event a user attempts to call include_once('Zend/Gdata/App.php') before calling include_once('Zend/Gdata.php'), the following error is output:

PHP Fatal error:  Class 'Zend_Gdata_App' not found in .../library/Zend/Gdata.php on line 240
PHP Stack trace:
PHP   1. {main}() php shell code:0
PHP   2. include_once() php shell code:1
PHP   3. require_once() .../library/Zend/Gdata/App.php:26
PHP   4. require_once() .../library/Zend/Gdata/Feed.php:0


Fixed for trunk as r16261.

{quote} commit 53e7ee007f43122aa606b24fcd1388f1d5976c35 Author: tjohns <tjohns@44c647ce-9c0f-0410-b52a-842ac1e357ba> Date: Tue Jun 23 16:54:56 2009 +0000

ZF-7101: Remove dependency on Zend_Gdata_Feed in Zend_Gdata_App, since this is circular and App classes shouldn't depend on non-App classes.

Old dependency chain: Zend_Gdata_App -> Zend_Gdata_Feed -> Zend_Gdata -> Zend_Gdata_App
New dependency chain: Zend_Gdata_App -> Zend_Gdata_App_Feed

git-svn-id: <a rel="nofollow" href="">;</a> 44c647ce-9c0f-0410-b52a-842ac1e357ba

library/Zend/Gdata/App.php | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) {quote}