I have the following callback in my model:

public function afterDelete() {
        Cache::delete('client_' . $this->field('name'));
}

Although $this->id is set, the field function (or any similar
function, such as read(), find(), etc.) doesn't return any data. I've
had to resort to beforeDelete since it properly executes. Has anyone
run into this? Am I doing something wrong?

Thanks,
-mike

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to