diff --git a/gogs.go b/gogs.go index fc2292b18..a8386ab5c 100644 --- a/gogs.go +++ b/gogs.go @@ -16,7 +16,7 @@ import ( "github.com/gogs/gogs/pkg/setting" ) -const APP_VER = "0.11.59.0627" +const APP_VER = "0.11.60.0814" func init() { setting.AppVer = APP_VER diff --git a/models/ssh_key.go b/models/ssh_key.go index 3a8d205fc..3d99f2070 100644 --- a/models/ssh_key.go +++ b/models/ssh_key.go @@ -25,7 +25,6 @@ import ( "github.com/gogs/gogs/pkg/process" "github.com/gogs/gogs/pkg/setting" - "github.com/gogs/gogs/pkg/tool" ) const ( @@ -479,7 +478,7 @@ func deletePublicKeys(e *xorm.Session, keyIDs ...int64) error { return nil } - _, err := e.In("id", strings.Join(tool.Int64sToStrings(keyIDs), ",")).Delete(new(PublicKey)) + _, err := e.In("id", keyIDs).Delete(new(PublicKey)) return err } diff --git a/templates/.VERSION b/templates/.VERSION index 7906efe7f..941680718 100644 --- a/templates/.VERSION +++ b/templates/.VERSION @@ -1 +1 @@ -0.11.59.0627 +0.11.60.0814