Browse Source

remove `UseBool` since we use `AllCols`

bergquist 6 years ago
parent
commit
ae9327ff3a
1 changed files with 0 additions and 5 deletions
  1. 0 5
      pkg/services/sqlstore/datasource.go

+ 0 - 5
pkg/services/sqlstore/datasource.go

@@ -164,11 +164,6 @@ func UpdateDataSource(cmd *m.UpdateDataSourceCommand) error {
 			Version:           cmd.Version + 1,
 		}
 
-		sess.UseBool("is_default")
-		sess.UseBool("basic_auth")
-		sess.UseBool("with_credentials")
-		sess.UseBool("read_only")
-
 		var updateSession *xorm.Session
 		if cmd.Version != 0 {
 			// the reason we allow cmd.version > db.version is make it possible for people to force