Releases: sara-nl/nc-trashbin-app
Releases · sara-nl/nc-trashbin-app
v0.0.3_test
Fix minor bug when a sub node is restored.
Full Changelog: v0.0.2_test...v0.0.3_test
v0.0.2_test
Existing Trashbin bug mitigated (no need anymore to modify apps/files_trashbin/lib/Trash/TrashItem.php
).
Full Changelog: v0.0.1_test...v0.0.2_test
v0.0.1_test
Full Changelog: https://github.com/sara-nl/nc-trashbin-app/commits/v0.0.1_test
Needs a change in file apps/files_trashbin/lib/Trash/TrashItem.php
:
Line 36:
public function getTrashPath(): string {
// return $this->trashPath;
return ltrim($this->trashPath, '/');
}
public function isRootItem(): bool {
// return substr_count($this->getTrashPath(), '/') === 1;
return substr_count($this->getTrashPath(), '/') === 0;
}