summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2011-11-24 23:14:03 +0100
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2011-11-24 23:14:03 +0100
commitbbbd0b954ef5c564bb7cdfc675b335c86d435e16 (patch)
tree6de4b619092cb96a4428f3899a5dcd8d3cbb251e
parentd3a0150fba2bf1881827ec2f3acaee15be0a1dcd (diff)
Minor code cleanups.
-rw-r--r--src/mulk/benki/wiki.clj2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mulk/benki/wiki.clj b/src/mulk/benki/wiki.clj
index df772ae..d848c04 100644
--- a/src/mulk/benki/wiki.clj
+++ b/src/mulk/benki/wiki.clj
@@ -31,7 +31,6 @@
(doseq [node (into [] (.select doc "*"))
subnode (into [] (.childNodes node))]
(when (instance? org.jsoup.nodes.TextNode subnode)
- (println subnode)
(let [new-node (org.jsoup.nodes.Element.
(org.jsoup.parser.Tag/valueOf "span")
"")]
@@ -114,7 +113,6 @@
(sort [:date#desc]))
revision (first @revisions)
page (:page revision)]
- ;; FIXME: Strip auto-generated WikiLinks from input.
(if-let [user (Integer. (session/get :user))]
(let [page-id (if page page (:id (insert-empty-page)))]
(sql/insert-values