From ac14c549ef96062e1ff4370327e4246474544c6c Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Tue, 22 Nov 2016 17:05:07 +0100 Subject: [PATCH] Remove commented code from collimp ns. --- backend/src/uxbox/cli/collimp.clj | 6 ------ 1 file changed, 6 deletions(-) diff --git a/backend/src/uxbox/cli/collimp.clj b/backend/src/uxbox/cli/collimp.clj index b7fde51b3..4b7ebffb9 100644 --- a/backend/src/uxbox/cli/collimp.clj +++ b/backend/src/uxbox/cli/collimp.clj @@ -163,12 +163,6 @@ (println "Importing image:" (str fpath)) (create-image conn id imageid fpath)))) - #_(if-let [image (retrieve-image conn imageid)] - (do - (delete-image conn image) - (create-image conn id imageid fpath)) - (create-image conn id imageid fpath)) - (defn- process-images-entry [conn basedir {:keys [path regex] :as entry}] {:pre [(us/valid? ::import-entry entry)]}