We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8041482 commit dec663cCopy full SHA for dec663c
models/issue_milestone.go
@@ -31,11 +31,6 @@ type Milestone struct {
31
ClosedDateUnix util.TimeStamp
32
}
33
34
-// BeforeInsert is invoked from XORM before inserting an object of this type.
35
-func (m *Milestone) BeforeInsert() {
36
- m.DeadlineUnix = util.TimeStampNow()
37
-}
38
-
39
// BeforeUpdate is invoked from XORM before updating this object.
40
func (m *Milestone) BeforeUpdate() {
41
if m.NumIssues > 0 {
0 commit comments