Solved. I just noticed that ItemFile::beforeDelete() did not return true;
On Tue, Apr 28, 2009 at 5:01 PM, brian wrote:
> I'm using $this->Item->del($id, true) in ItemsController. I expect
> that its ItemFiles would also be deleted but they are not. I've
> compared my models with the examples in
I'm using $this->Item->del($id, true) in ItemsController. I expect
that its ItemFiles would also be deleted but they are not. I've
compared my models with the examples in the book several times and
plodded through the source and I've no idea what the problem is.
Anyone else think of something?
cl