Duplicate debug handling in JFactory::getDbo() (2.5)

http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=31108