mirror of
https://github.com/openvk/openvk
synced 2025-06-06 22:47:01 +03:00
fix(nospam): attempt to fix club rollback
This commit is contained in:
parent
99176789ae
commit
0be8514619
1 changed files with 5 additions and 0 deletions
|
@ -429,6 +429,11 @@ class Club extends RowModel
|
|||
$this->save();
|
||||
}
|
||||
|
||||
public function delete(bool $softly = true): void
|
||||
{
|
||||
$this->ban("");
|
||||
}
|
||||
|
||||
public function unban(): void
|
||||
{
|
||||
$this->setBlock_Reason(null);
|
||||
|
|
Loading…
Reference in a new issue