From f5b2937265ccf5178fd0a5c1edb54daaedfc1c81 Mon Sep 17 00:00:00 2001 From: liugang Date: Thu, 31 Jul 2025 16:07:16 +0800 Subject: [PATCH] * [refac] Remove unused code. --- module/admin/control.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/module/admin/control.php b/module/admin/control.php index b22def7a29..ef62c11580 100755 --- a/module/admin/control.php +++ b/module/admin/control.php @@ -374,10 +374,7 @@ class admin extends control { $this->dbh->exec($sql); } - catch(PDOException $e) - { - $this->app->triggerError($e->getMessage(), __FILE__, __LINE__); - } + catch(PDOException $e){} if(isset($this->config->admin->metricLib->updateSQLs[++$key])) return $this->send(['result' => 'success', 'key' => $key]); return $this->send(['result' => 'success']); }