aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gogs.go2
-rw-r--r--models/ssh_key.go3
-rw-r--r--templates/.VERSION2
3 files changed, 3 insertions, 4 deletions
diff --git a/gogs.go b/gogs.go
index fc2292b1..a8386ab5 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 3a8d205f..3d99f207 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 7906efe7..94168071 100644
--- a/templates/.VERSION
+++ b/templates/.VERSION
@@ -1 +1 @@
-0.11.59.0627
+0.11.60.0814