From 9d861a91940eeb5bd6f00414fd85f9a3f4296752 Mon Sep 17 00:00:00 2001 From: Roland Schneider Date: Mon, 20 Apr 2020 22:11:29 +0200 Subject: [PATCH] add coronavirus activate/inactivate --- backend/models/CustomerActivateForm.php | 1 - 1 file changed, 1 deletion(-) diff --git a/backend/models/CustomerActivateForm.php b/backend/models/CustomerActivateForm.php index ed1bb73..b7a915a 100644 --- a/backend/models/CustomerActivateForm.php +++ b/backend/models/CustomerActivateForm.php @@ -44,7 +44,6 @@ class CustomerActivateForm extends Model{ Card::updateAll( [ 'status' => Card::STATUS_ACTIVE, - 'end' => 'date_add( end, INTERVAL datediff(current_date, c.inactivated_at) DAY )' ], [ 'status' => Card::STATUS_INACTIVE