Add some comments and remove the db init (will be done at startup)

This commit is contained in:
Aaron Mueller 2014-01-20 22:32:28 +01:00
parent 0b15558039
commit 2ed50d75bc

View file

@ -32,10 +32,9 @@
(if-not (entry/exists? ld-uid) (if-not (entry/exists? ld-uid)
(save-entry (scrape/entry-details ld-uid))))))) (save-entry (scrape/entry-details ld-uid)))))))
; TODO: Whatch out, the competition is set in the scrape .... refactor this ... ; TODO: Watch out, the competition is set in the scrape .... refactor this ...
; TODO: Only create the competition if not allready exists
(defn load-competition [id title] (defn load-competition [id title]
(cleanup)
(schema/create-tables)
(competition/create! id title) (competition/create! id title)
(fetch-all-content)) (fetch-all-content))