App::import doesn't replace Controller::uses. It replaces uses(). But $uses loads all models specified whether used or not. If your relationships are defined well, it's usually unnecessary to specify anything for Controller::uses.
On Tue, Jul 8, 2008 at 4:26 PM, Sam Sherlock <[EMAIL PROTECTED]> wrote: >> So, what are we supposed to use instead? > > app::import > > 2008/7/8 gurkzor <[EMAIL PROTECTED]>: >> >> On 2 Juli, 12:08, keymaster <[EMAIL PROTECTED]> wrote: >> > Don't use $uses, ever, it slaughters performance. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" 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 -~----------~----~----~----~------~----~------~--~---
