From 55271490e8e2fe56573eb30a4738ba419dc7c414 Mon Sep 17 00:00:00 2001 From: Brian Candler Date: Sat, 28 Mar 2009 22:19:32 +0000 Subject: [PATCH] Remove unnecessary design_doc_fresh test --- lib/couchrest/mixins/document_queries.rb | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/couchrest/mixins/document_queries.rb b/lib/couchrest/mixins/document_queries.rb index 84293e2..6834429 100644 --- a/lib/couchrest/mixins/document_queries.rb +++ b/lib/couchrest/mixins/document_queries.rb @@ -12,9 +12,6 @@ module CouchRest # name of the current class. Take the standard set of # CouchRest::Database#view options. def all(opts = {}, &block) - unless design_doc_fresh - refresh_design_doc - end view(:all, opts, &block) end