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

This commit is contained in:
Robin Appelman 2015-01-28 16:30:42 +01:00
parent d4c4e2a322
commit 215388f4e0
1 changed files with 2 additions and 0 deletions

View File

@ -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;