Browse Source

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

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

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