This topic is locked

File / Image Inline Edit File Name Update not deleting previous file f

8/29/2011 4:46:13 AM
PHPRunner General questions
M
MikeB941 author

PHPRUNNER 5.3 BUILD 7474
An inline edit of a field of type File / Image where a new file name is browsed/selected, updates the database, uploads the new file but doesn't delete the previous file / image.

C
cgphp 8/29/2011

I think this is a by design feature and it makes sense. It is left to the programmer to choose what to do with the old files.

You can delete them in the "Before record updated" event accessing the $oldvalues array.