From: Jean-Philippe Lang Date: Sun, 18 Dec 2011 15:04:34 +0000 (+0000) Subject: Removed unused scope. X-Git-Tag: 1.4.0~995 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=14ea087edc762e068a8a65b40313caabd1de6ea3;p=redmine.git Removed unused scope. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8292 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/models/issue.rb b/app/models/issue.rb index 8421603a7..fcfacd1a5 100644 --- a/app/models/issue.rb +++ b/app/models/issue.rb @@ -73,12 +73,6 @@ class Issue < ActiveRecord::Base named_scope :on_active_project, :include => [:status, :project, :tracker], :conditions => ["#{Project.table_name}.status=#{Project::STATUS_ACTIVE}"] - named_scope :without_version, lambda { - { - :conditions => { :fixed_version_id => nil} - } - } - before_create :default_assign before_save :close_duplicates, :update_done_ratio_from_issue_status after_save :reschedule_following_issues, :update_nested_set_attributes, :update_parent_attributes, :create_journal