application/core/manage/logic/DatabaseLogic.php
public function delBakup($bakup_id)
    {
        try {
            $bakup_path = $this->getBakupPath();
            $bakup = $this->model->get($bakup_id);
            unlink($bakup_path . $bakup['dump_file']);
        } catch (\Exception $e) {}
        
        return $this->model->del($bakup_id);
    }
public function delBakup($bakup_id)
    {
        try {
            $bakup_path = $this->getBakupPath();
            $bakup = $this->model->get($bakup_id);
            unlink($bakup_path . $bakup['dump_file']);
        } catch (\Exception $e) {}
        
        return $this->model->del($bakup_id);
    }
删除备份

@param number $bakup_id
@return number