From 2640b7014bb098927f035d3915b322d54a5a1023 Mon Sep 17 00:00:00 2001 From: gered Date: Sat, 24 May 2014 18:54:13 -0400 Subject: [PATCH] causes problems depending on authentication/authorization accessing design docs requires fairly elevated permissions (admin), there are probably better ways to test access to the db anyway... --- src/blarg/models/db.clj | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/blarg/models/db.clj b/src/blarg/models/db.clj index 637757c..c1ee7db 100644 --- a/src/blarg/models/db.clj +++ b/src/blarg/models/db.clj @@ -63,8 +63,8 @@ "verifies that the required databases are present, creating them if they are not there (including the views)." [] - (couch/get-database (get-users-db)) - (when (couch/get-database (get-files-db)) + #_(couch/get-database (get-users-db)) + #_(when (couch/get-database (get-files-db)) (touch-design-doc (get-files-db) "_design/files" "couchdb/design_docs/files.js")) - (when (couch/get-database (get-posts-db)) + #_(when (couch/get-database (get-posts-db)) (touch-design-doc (get-posts-db) "_design/posts" "couchdb/design_docs/posts.js")))