Browse Source

init with all enabled

pull/2110/head
Unknwon 9 years ago
parent
commit
e82ee40e9e
  1. 3
      models/repo.go

3
models/repo.go

@ -829,6 +829,9 @@ func CreateRepository(u *User, opts CreateRepoOptions) (_ *Repository, err error
LowerName: strings.ToLower(opts.Name),
Description: opts.Description,
IsPrivate: opts.IsPrivate,
EnableWiki: true,
EnableIssues: true,
EnablePulls: true,
}
sess := x.NewSession()

Loading…
Cancel
Save