Browse Source

refactoring

master
Christian Mueller 12 years ago
parent
commit
460db4185a
  1. 3
      src/notehub/storage.clj

3
src/notehub/storage.clj

@ -79,9 +79,6 @@ @@ -79,9 +79,6 @@
(defn short-url-exists? [url]
(= 1 (redis :hexists :short-url url)))
(defn get-short-url [noteID]
(redis :hget :short-url noteID))
(defn resolve-url [url]
(let [value (redis :hget :short-url url)]
(when value ; TODO: necessary?

Loading…
Cancel
Save