Re: Issue with removing records (unset) from data array in afterFind

2013-01-29 Thread Kevin
For future reference - this has been corrected in 2.2.6. -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups CakePHP group. To unsubscribe from this group and stop

Issue with removing records (unset) from data array in afterFind

2013-01-10 Thread Kevin
Hi All I'm experiencing a problem that I can't unset records from the data[] in the afterFind callback when the model a related model. To show my issue clearly I've add this aferFind function to a model (assume I'd like to filter all returned records out for some reason): public function