From 2f3ee823d950c60a0eba2f07e14ac69a0cab6a58 Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Fri, 10 May 2019 18:07:49 -0400 Subject: [PATCH] don't need to allow resigned content now that we get oneups --- fun.go | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/fun.go b/fun.go index aabd918..72551e4 100644 --- a/fun.go +++ b/fun.go @@ -407,15 +407,5 @@ func keymatch(keyname string, actor string, what string, userid int64) bool { if owner == actor { return true } - if what != "Create" { - return false - } - row := stmtHasHonker.QueryRow(owner, userid) - var id int64 - err := row.Scan(&id) - if err == nil { - log.Printf("allowing resigned content by %s", keyname) - return true - } return false }