summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Manuel <nilslice@gmail.com>2016-10-28 13:09:07 -0700
committerSteve Manuel <nilslice@gmail.com>2016-10-28 13:09:07 -0700
commita10e7f3960bed2a9fec81608d8365005855c113e (patch)
treeb6ac0641ab2e473041b39218ce4fd89a16ffdeef
parenta4ff81d168e159f18b6d68e2c26ab4416ca66b20 (diff)
delete unused
-rw-r--r--system/admin/handlers.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/admin/handlers.go b/system/admin/handlers.go
index 3960eed..9f0b81e 100644
--- a/system/admin/handlers.go
+++ b/system/admin/handlers.go
@@ -563,7 +563,7 @@ func postsHandler(res http.ResponseWriter, req *http.Request) {
}
var hasExt bool
- ext, ok := pt.(api.Externalable)
+ _, ok = pt.(api.Externalable)
if ok {
hasExt = true
}