server/apps/files_trashbin/lib
Vincent Petry 8aca127e52 Added extra check to avoid deleting key folders
Whenever a delete operation is called twice in a row, it could happen
that the first call already deleted the file.

The second call would return an empty $ownerPath because the file does
not exist. That empty $ownerPath would run the key deletion operation on
the wrong path.

This fix adds checks in many places to make sure we don't use $ownerPath
when it's empty or null.
2014-09-19 19:01:02 +02:00
..
exceptions.php throw exception if file is to large for trash bin 2014-07-15 13:56:02 +02:00
helper.php Show original path information in trashbin and sharing views 2014-09-11 15:45:42 +01:00
hooks.php Remove all occurences of @brief and @returns from PHPDoc 2014-05-19 17:50:53 +02:00
trashbin.php Added extra check to avoid deleting key folders 2014-09-19 19:01:02 +02:00