-
- Downloads
Call final unlink in trash wrapper's storage
In the case of cross-storage delete, the files are copied to the trash, then deleted. The final delete on the source storage would still reach the trash wrapper. This fix makes forwards that second call to the wrapped storage to make the final delete work. It fixes the issue with remote shares, local shares and external storage. Also, it uses a new function "renameRecursive" that renames the files and preserves the mtimes (like "copy_recursive" did in the past))
Showing
- apps/files_encryption/tests/trashbin.php 2 additions, 0 deletionsapps/files_encryption/tests/trashbin.php
- apps/files_trashbin/lib/storage.php 3 additions, 0 deletionsapps/files_trashbin/lib/storage.php
- apps/files_trashbin/lib/trashbin.php 41 additions, 2 deletionsapps/files_trashbin/lib/trashbin.php
- apps/files_trashbin/tests/storage.php 132 additions, 0 deletionsapps/files_trashbin/tests/storage.php
Loading
Please register or sign in to comment