Make sure we delete the file when doing a cross storage trashbin move

remotes/origin/create-share-target-reuse
Robin Appelman 10 years ago
parent d4c4e2a322
commit 215388f4e0
  1. 2
      apps/files_trashbin/lib/storage.php

@ -85,6 +85,8 @@ class Storage extends Wrapper {
$result = $this->storage->unlink($path);
}
unset($this->deletedFiles[$normalized]);
} else if ($this->storage->file_exists($path)) {
$result = $this->storage->unlink($path);
}
return $result;

Loading…
Cancel
Save