* [refac] Remove unused code.

This commit is contained in:
liugang
2025-07-31 16:07:16 +08:00
parent cbdf120382
commit f5b2937265
+1 -4
View File
@@ -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']);
}