server/apps/files_trashbin
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
..
ajax Use public api for getting l10n 2014-08-31 10:08:22 +02:00
appinfo Use public api for getting l10n 2014-08-31 10:08:22 +02:00
css Hide the size in the trashbin summary row 2014-07-03 17:16:50 +02:00
js Distinguish legacy file actions from regular file actions 2014-05-30 10:06:29 +02:00
l10n remove obsolete language files 2014-09-13 15:29:11 +02:00
lib Added extra check to avoid deleting key folders 2014-09-19 19:01:02 +02:00
templates Fixed many issues, clean up 2014-05-15 17:51:04 +02:00
tests Sync file list with file actions 2014-06-27 13:41:01 +02:00
list.php Fixed many issues, clean up 2014-05-15 17:51:04 +02:00