Browse Source

Don't force due date to current time (#3830)

Fixes #3827
for-closed-social
Morgan Bazalgette 6 years ago
committed by Lunny Xiao
parent
commit
320c9817bc
1 changed files with 0 additions and 5 deletions
  1. +0
    -5
      models/issue_milestone.go

+ 0
- 5
models/issue_milestone.go View File

@ -31,11 +31,6 @@ type Milestone struct {
ClosedDateUnix util.TimeStamp
}
// BeforeInsert is invoked from XORM before inserting an object of this type.
func (m *Milestone) BeforeInsert() {
m.DeadlineUnix = util.TimeStampNow()
}
// BeforeUpdate is invoked from XORM before updating this object.
func (m *Milestone) BeforeUpdate() {
if m.NumIssues > 0 {

Loading…
Cancel
Save