From 1a59517516d0b592b1be5afdbb3f504d3e6df175 Mon Sep 17 00:00:00 2001 From: mrilyew <99399973+mrilyew@users.noreply.github.com> Date: Sat, 31 May 2025 11:32:18 +0300 Subject: [PATCH] fix(nospam): attempt to fix club rollback --- Web/Models/Entities/Club.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Web/Models/Entities/Club.php b/Web/Models/Entities/Club.php index 892a1647..6c8a0372 100644 --- a/Web/Models/Entities/Club.php +++ b/Web/Models/Entities/Club.php @@ -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);