some people are determined to fill my database with tombstones,
so only save zonk if we deleted something
This commit is contained in:
parent
592c189e8b
commit
2e82a931b9
|
@ -315,12 +315,12 @@ func eradicatexonk(userid int64, xid string) {
|
|||
xonk := getxonk(userid, xid)
|
||||
if xonk != nil {
|
||||
deletehonk(xonk.ID)
|
||||
}
|
||||
_, err := stmtSaveZonker.Exec(userid, xid, "zonk")
|
||||
if err != nil {
|
||||
elog.Printf("error eradicating: %s", err)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
func savexonk(x *Honk) {
|
||||
ilog.Printf("saving xonk: %s", x.XID)
|
||||
|
|
Loading…
Reference in New Issue