mirror of https://github.com/go-gitea/gitea.git
fix lint
This commit is contained in:
parent
dfe30fe6a4
commit
da99ba5e93
|
@ -301,9 +301,5 @@ Please try upgrading to a lower version first (suggested v1.6.4), then upgrade t
|
|||
}
|
||||
|
||||
// Remove old version table
|
||||
if err := x.DropTables(new(Version)); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
return nil
|
||||
return x.DropTables(new(Version))
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue