From 085622214428d433dd6cd5aba90911a69e4c74be Mon Sep 17 00:00:00 2001 From: sunguangming Date: Wed, 27 Dec 2023 13:35:57 +0800 Subject: [PATCH] * Remove useless code. --- module/instance/model.php | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/module/instance/model.php b/module/instance/model.php index 3f5351f667..9756cb9656 100644 --- a/module/instance/model.php +++ b/module/instance/model.php @@ -315,19 +315,6 @@ class instanceModel extends model ->where('id')->eq($id)->exec(); } - - /** - * Soft delete instance by id. - * - * @param int $id - * @access public - * @return void - */ - public function softDeleteByID($id) - { - return $this->dao->update(TABLE_INSTANCE)->set('deleted')->eq(1)->where('id')->eq($id)->exec(); - } - /** * If actions are allowed to do. *