* Remove unused code.

This commit is contained in:
caoyanyi
2023-04-04 10:12:29 +08:00
parent 32a7ced719
commit e165bf1cfd
2 changed files with 1 additions and 3 deletions
-1
View File
@@ -582,7 +582,6 @@ class api extends control
$libName = isset($lib->name) ? $lib->name . $this->lang->colon : '';
$this->getTypeOptions($libID);
$this->view->gobackLink = '';
$this->view->user = $this->app->user->account;
$this->view->allUsers = $this->loadModel('user')->getPairs('devfirst|noclosed');
$this->view->libID = $libID;
+1 -2
View File
@@ -225,8 +225,7 @@ js::set('struct_paramsType', $lang->struct->paramsType);
<tr>
<td colspan='3' class='text-center form-actions'>
<?php echo html::submitButton();?>
<?php if(empty($gobackLink)) echo html::backButton($lang->goback, "data-app='{$app->tab}' class='btn btn-back btn-wide'");?>
<?php if(!empty($gobackLink)) echo html::a($gobackLink, $lang->goback, '', "class='btn btn-back btn-wide'");?>
<?php echo html::backButton($lang->goback, "data-app='{$app->tab}' class='btn btn-back btn-wide'");?>
</td>
</tr>
</tbody>