Skip to content

Commit

Permalink
Merge pull request #754 from nextcloud/fix/page_trash_backend_typo
Browse files Browse the repository at this point in the history
fix(backend): typo in page trash expire function
  • Loading branch information
mejo- authored Jul 3, 2023
2 parents 93ee99a + 9e06d5d commit cd2635f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Trash/PageTrashBackend.php
Original file line number Diff line number Diff line change
Expand Up @@ -645,7 +645,7 @@ public function expire(Expiration $expiration): int {
}
}
foreach ($trashItems as $collectiveTrashItem) {
if ($expiration->isExpired($collectiveTrashItem['deleted_item'])) {
if ($expiration->isExpired($collectiveTrashItem['deleted_time'])) {
$nodeName = self::getTrashFilename($collectiveTrashItem['name'], (int)$collectiveTrashItem['deleted_time']);
if (!isset($nodes[$nodeName])) {
continue;
Expand Down

0 comments on commit cd2635f

Please sign in to comment.