summaryrefslogtreecommitdiff
path: root/src/Model/Event/UpgradeBuilding.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Model/Event/UpgradeBuilding.php')
-rw-r--r--src/Model/Event/UpgradeBuilding.php6
1 files changed, 5 insertions, 1 deletions
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(