Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f61dbb42c5 |
@@ -297,7 +297,7 @@ func (this *IPItemDAO) DeleteOldItemWithValue(tx *dbs.Tx, listId int64, value st
|
|||||||
}
|
}
|
||||||
ones, err := this.Query(tx).
|
ones, err := this.Query(tx).
|
||||||
ResultPk().
|
ResultPk().
|
||||||
UseIndex("ipFrom").
|
UseIndex("value").
|
||||||
Attr("listId", listId).
|
Attr("listId", listId).
|
||||||
Attr("value", value).
|
Attr("value", value).
|
||||||
Attr("state", IPItemStateEnabled).
|
Attr("state", IPItemStateEnabled).
|
||||||
|
|||||||
Reference in New Issue
Block a user