move update log
This commit is contained in:
parent
d90cbc3db1
commit
ce764c468d
|
@ -484,7 +484,6 @@ func xonkxonk(user *WhatAbout, item junk.Junk, origin string) *Honk {
|
||||||
origin = originate(xid)
|
origin = originate(xid)
|
||||||
what = "bonk"
|
what = "bonk"
|
||||||
case "Update":
|
case "Update":
|
||||||
log.Printf("should be updating")
|
|
||||||
isUpdate = true
|
isUpdate = true
|
||||||
fallthrough
|
fallthrough
|
||||||
case "Create":
|
case "Create":
|
||||||
|
@ -701,6 +700,7 @@ func xonkxonk(user *WhatAbout, item junk.Junk, origin string) *Honk {
|
||||||
}
|
}
|
||||||
|
|
||||||
if isUpdate {
|
if isUpdate {
|
||||||
|
log.Printf("something has changed! %s", xonk.XID)
|
||||||
prev := getxonk(user.ID, xonk.XID)
|
prev := getxonk(user.ID, xonk.XID)
|
||||||
if prev == nil {
|
if prev == nil {
|
||||||
log.Printf("didn't find old version for update: %s", xonk.XID)
|
log.Printf("didn't find old version for update: %s", xonk.XID)
|
||||||
|
|
Loading…
Reference in New Issue