Hi.
I'm trying to override CakePHP's deleting of rows in the database
so it only looks like it's deleting them. So far I've done the
following:
* Updated all the tables except cake_sessions to include the column
`deleted` tinyint(1) unsigned NOT NULL default '0'
* Created the file
Oh, and as a tip, all Cake find functions actually end up using
findAll - including exists, findCount, find, etc. So just change
findAll - you don't have to change each of them separately.
Also, if all you want to do is set some additional conditions, you
could do this in the AppModel
On Sep 13, 1:34 am, Grant Cox [EMAIL PROTECTED] wrote:
Oh, and as a tip, all Cake find functions actually end up using
findAll - including exists, findCount, find, etc. So just change
findAll - you don't have to change each of them separately.
Or look at the softDelete behavior on the