Skip to content

Commit 5b265bf

Browse files
committed
add missing canPurgeItem for CommonDBChild
1 parent b76f886 commit 5b265bf

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
@@ -205,6 +205,11 @@ public function canDeleteItem(): bool
205205
return $this->canChildItem('canUpdateItem', 'canUpdate');
206206
}
207207

208+
public function canPurgeItem(): bool
209+
{
210+
return $this->canChildItem('canUpdateItem', 'canUpdate');
211+
}
212+
208213

209214
/**
210215
* @since 0.84

0 commit comments

Comments
 (0)