]> source.dussan.org Git - redmine.git/commitdiff
Removed unused scope.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 18 Dec 2011 15:04:34 +0000 (15:04 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 18 Dec 2011 15:04:34 +0000 (15:04 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8292 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/models/issue.rb

index 8421603a733e5c8855168b95f08cb41cecd2fbee..fcfacd1a5874a9a9bf9706614620532e07739ea5 100644 (file)
@@ -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