nextcloud/apps/files_trashbin/lib
Vincent Petry f86699cd48 Fix restoring files from trash with unique name
When restoring a file, a unique name needs to be generated if a file
with the same name already exists.

Also fixed the restore() method to return false if the file to restore
does not exist.

Added unit tests to cover restore cases.
2015-05-15 12:42:27 +02:00
..
exceptions Update license headers 2015-03-26 11:44:36 +01:00
capabilities.php Update license headers 2015-03-26 11:44:36 +01:00
helper.php Update license headers 2015-03-26 11:44:36 +01:00
hooks.php Update license headers 2015-03-26 11:44:36 +01:00
storage.php Added rmdir to trashbin storage wrapper 2015-05-12 11:09:02 +02:00
trashbin.php Fix restoring files from trash with unique name 2015-05-15 12:42:27 +02:00