From 460db4185afb9dd7e1a2efcbed442e198b02ffad Mon Sep 17 00:00:00 2001 From: Christian Mueller Date: Sat, 1 Feb 2014 21:16:10 +0100 Subject: [PATCH] refactoring --- src/notehub/storage.clj | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/notehub/storage.clj b/src/notehub/storage.clj index 31720e8..79b7c0b 100644 --- a/src/notehub/storage.clj +++ b/src/notehub/storage.clj @@ -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?