Skip to content

Commit

Permalink
Fix delete/purge rights
Browse files Browse the repository at this point in the history
  • Loading branch information
trasher committed May 24, 2022
1 parent 308fc71 commit 747818d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/Unmanaged.php
Original file line number Diff line number Diff line change
Expand Up @@ -303,4 +303,14 @@ public function convert(int $items_id, string $itemtype = null)
}
$this->deleteFromDB(1);
}

public static function canDelete()
{
return static::canUpdate();
}

public static function canPurge()
{
return static::canUpdate();
}
}

0 comments on commit 747818d

Please sign in to comment.