From 09caff2b2a06d1f8ac8203567035a21c612165f9 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Thu, 11 Jan 2024 13:15:02 +0100 Subject: send resources --- src/Model/Event/UpgradeBuilding.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/Model/Event/UpgradeBuilding.php') diff --git a/src/Model/Event/UpgradeBuilding.php b/src/Model/Event/UpgradeBuilding.php index a426a21..a3f3984 100644 --- a/src/Model/Event/UpgradeBuilding.php +++ b/src/Model/Event/UpgradeBuilding.php @@ -3,7 +3,6 @@ namespace App\Model\Event; use App\DB; -use App\Model\Event; class UpgradeBuilding extends BaseEvent { @@ -27,6 +26,11 @@ class UpgradeBuilding extends BaseEvent ); } + public function cancel(): void + { + $this->dbDelete(); + } + public function dbInsert(): void { DB::query( -- cgit v1.2.3