[dev] Re: [cvs] commit: turba delete.php

Jan Schneider jan at horde.org
Tue Feb 8 15:38:43 PST 2005


Zitat von Chuck Hagenbuch <chuck at horde.org>:

> chuck       2005-02-08 12:07:46 PST
>
>  Modified files:
>    .                    delete.php
>  Log:
>  Only try to delete files if deleting the object succeeded.

It was the opposite by intention. If deleting the object succeeds but 
deleting the  file fails, the file stays as a zombie in the VFS. In the 
opposite way, if deleting the file fails, the contact wasn't deleted 
either. The reason why the deletion failed can be fixed, and the 
file-contact-relationship stays intact.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/


More information about the dev mailing list