mirror of
https://github.com/openvk/openvk
synced 2025-06-07 06:57:00 +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();
|
$this->save();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function delete(bool $softly = true): void
|
||||||
|
{
|
||||||
|
$this->ban("");
|
||||||
|
}
|
||||||
|
|
||||||
public function unban(): void
|
public function unban(): void
|
||||||
{
|
{
|
||||||
$this->setBlock_Reason(null);
|
$this->setBlock_Reason(null);
|
||||||
|
|
Loading…
Reference in a new issue