I suggest you override it at the model level, this is possible...

In the model that is not working as it was before add this code.

    function loadInfo() {
        $db =& ConnectionManager::getDataSource($this->useDbConfig);

        if (!is_object($this->_tableInfo) &&
$db->isInterfaceSupported('describe')) {
            uses('neat_array');
            $this->_tableInfo = new NeatArray($db->describe($this));
        }
        return $this->_tableInfo;
    }

The original method was changed to fix bugs, not break user land code...

-- 
/**
* @author Larry E. Masters
* @var string $userName
* @param string $realName
* @returns string aka PhpNut
* @access  public
*/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to