* [refac] Remove unused code.

This commit is contained in:
liugang
2025-08-06 15:22:15 +08:00
committed by tianshujie
parent ff66cb8d68
commit b5b2c82590
+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']);
}