summaryrefslogtreecommitdiffstats
path: root/app/models/query.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/query.rb')
-rw-r--r--app/models/query.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/app/models/query.rb b/app/models/query.rb
index 4cd8d36b9..262a738d1 100644
--- a/app/models/query.rb
+++ b/app/models/query.rb
@@ -166,10 +166,6 @@ class Query < ActiveRecord::Base
def initialize(attributes=nil, *args)
super attributes
self.filters ||= { 'status_id' => {:operator => "o", :values => [""]} }
- end
-
- def after_initialize
- # Store the fact that project is nil (used in #editable_by?)
@is_for_all = project.nil?
end