Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Mage_Core_Model_Config::_sortModuleDepends() - Same work done twice?? 
 
cajudosu
Jr. Member
 
Total Posts:  1
Joined:  2012-09-21
 

Hi there!

My name is Julian and I\’m new to Meganto developement. I just finished my first extension. Today I debugged through the core code and arrived at the above named method. I tried to understand what\’s happening and, now, ask my self if there is done some work twice:

The first two foreach-loops check wether no module depends on another non-present or non-active module. The third pair of foreach-loop again checks if no module depends an a module that does not exist which is in my opinion already checked in the first pair of foreach-loops.

Does anybody confirm that?

Magento version is 1.7.0.2

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top