Explorar o código

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: http://framework.zend.com/svn/framework/standard/trunk@16261 44c647ce-9c0f-0410-b52a-842ac1e357ba
tjohns %!s(int64=16) %!d(string=hai) anos
pai
achega
8c8484c63e
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      library/Zend/Gdata/App.php

+ 2 - 2
library/Zend/Gdata/App.php

@@ -23,7 +23,7 @@
 /**
  * Zend_Gdata_Feed
  */
-require_once 'Zend/Gdata/Feed.php';
+require_once 'Zend/Gdata/App/Feed.php';
 
 /**
  * Zend_Gdata_Http_Client
@@ -827,7 +827,7 @@ class Zend_Gdata_App
      * @param  string $className The class which is used as the return type
      * @param  string $useIncludePath Whether the include_path should be searched
      * @throws Zend_Gdata_App_Exception
-     * @return Zend_Gdata_Feed
+     * @return Zend_Gdata_App_Feed
      */
     public static function importFile($filename,
             $className='Zend_Gdata_App_Feed', $useIncludePath = false)