Is there a reason your doing a read() for each item in the loop? Your
just doing a ton of unnecessary queries.

This would do the same exact thing.

$this->Url->id = $stopTrackingId;
$this->Url->save(array('research' => -1), false);
--~--~---------~--~----~------------~-------~--~----~
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