Skip to content

Commit

Permalink
fix(backend): typo in page trash expire function
Browse files Browse the repository at this point in the history
Signed-off-by: Jonas <[email protected]>
  • Loading branch information
mejo- committed Jul 3, 2023
1 parent 93ee99a commit 9e06d5d
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 9e06d5d

Please sign in to comment.