Removed unused scope.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8292 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
b7ceb3c333
commit
14ea087edc
|
@ -73,12 +73,6 @@ class Issue < ActiveRecord::Base
|
||||||
named_scope :on_active_project, :include => [:status, :project, :tracker],
|
named_scope :on_active_project, :include => [:status, :project, :tracker],
|
||||||
:conditions => ["#{Project.table_name}.status=#{Project::STATUS_ACTIVE}"]
|
:conditions => ["#{Project.table_name}.status=#{Project::STATUS_ACTIVE}"]
|
||||||
|
|
||||||
named_scope :without_version, lambda {
|
|
||||||
{
|
|
||||||
:conditions => { :fixed_version_id => nil}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
before_create :default_assign
|
before_create :default_assign
|
||||||
before_save :close_duplicates, :update_done_ratio_from_issue_status
|
before_save :close_duplicates, :update_done_ratio_from_issue_status
|
||||||
after_save :reschedule_following_issues, :update_nested_set_attributes, :update_parent_attributes, :create_journal
|
after_save :reschedule_following_issues, :update_nested_set_attributes, :update_parent_attributes, :create_journal
|
||||||
|
|
Loading…
Reference in New Issue