Skip to content
  • Vincent Petry's avatar
    Call final unlink in trash wrapper's storage · 67f1534e
    Vincent Petry authored
    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))
    67f1534e