When a user is logged in, there are 100's of queries that are run
against the database.  They come from a $this->Aro->Permission->find
call in /cake/libs/controller/api->check().

The function, and corresponding DB calls, are executed once per row in
the AROS table.  There are 1374 items in that table, most are links to
users.

I inherited this site and I am just starting to learn CakePHP.  Can
anyone explain why this is happening and what I need to change to stop
it?

Thanks,
Mike

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to