Skip to content

Commit 296ae07

Browse files
committed
add missing canPurgeItem for CommonDBChild
1 parent 89df6c9 commit 296ae07

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/CommonDBChild.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,11 @@ public function canDeleteItem(): bool
169169
return $this->canChildItem('canUpdateItem', 'canUpdate');
170170
}
171171

172+
public function canPurgeItem(): bool
173+
{
174+
return $this->canChildItem('canUpdateItem', 'canUpdate');
175+
}
176+
172177

173178
/**
174179
* @since 0.84

0 commit comments

Comments
 (0)