mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-26 03:21:33 +03:00
remove useless code
This commit is contained in:
parent
9d414d4dd9
commit
02877f1a69
@ -684,7 +684,6 @@ func NewMilestone(m *Milestone) (err error) {
|
||||
return err
|
||||
}
|
||||
|
||||
m.Deadline = m.Deadline.Local()
|
||||
if _, err = sess.Insert(m); err != nil {
|
||||
return err
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user