summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-08-06 23:27:54 +0800
committerUnknwon <u@gogs.io>2015-08-06 23:27:54 +0800
commit02877f1a6903b8f2e3585de703908db3521e6769 (patch)
tree0f1208fd7d06398f74f1e274bd705562316104de
parent9d414d4dd905840911874b879c28cb8178f6f56e (diff)
downloadgitea-02877f1a6903b8f2e3585de703908db3521e6769.tar.gz
gitea-02877f1a6903b8f2e3585de703908db3521e6769.zip
remove useless code
-rw-r--r--models/issue.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/models/issue.go b/models/issue.go
index cff69ff171..d423f05622 100644
--- a/models/issue.go
+++ b/models/issue.go
@@ -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
}