From 6374db88a628a9e63bb39792f4bf58d69a914c4e Mon Sep 17 00:00:00 2001 From: zhaoke Date: Fri, 3 Feb 2023 05:35:47 +0000 Subject: [PATCH] * Fix bug #31896. --- module/zahost/control.php | 1 - 1 file changed, 1 deletion(-) diff --git a/module/zahost/control.php b/module/zahost/control.php index a49ab2902a..e7787eb289 100644 --- a/module/zahost/control.php +++ b/module/zahost/control.php @@ -169,7 +169,6 @@ class zahost extends control } $this->dao->update(TABLE_ZAHOST)->set('deleted')->eq(1)->where('id')->eq($hostID)->exec(); - $this->loadModel('action')->create('zahost', $hostID, 'deleted'); $this->loadModel('action')->create('zahost', $hostID, 'deleted', '', $extra = ACTIONMODEL::CAN_UNDELETED); /* if ajax request, send result. */