* Remove unused variable.

This commit is contained in:
zhouxin
2023-06-02 15:57:04 +08:00
parent 813db3ee23
commit 050e92364a
2 changed files with 4 additions and 8 deletions
+2 -5
View File
@@ -44,11 +44,8 @@ class dev extends control
public function restAPI($apiID = 1)
{
list($api, $typeList, $menu) = $this->dev->getAPIData($apiID);
if($api)
{
$moduleID = $api->module;
$api->desc = htmlspecialchars_decode($api->desc);
}
if($api) $api->desc = htmlspecialchars_decode($api->desc);
$this->view->title = $this->lang->dev->api;
$this->view->selectedModule = 'restapi';
$this->view->moduleTree = $menu;