Code cleanup: removed the obsolete with_limit scope.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10243 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang committed 2012-08-27 10:54:01 +00:00
1 parent d33fa1f8c8
commit 3a77d543fd
2 files changed
+1 -2

No files matched your search

-1
View File
@@ -70,7 +70,6 @@ class Issue < ActiveRecord::Base
}
scope :recently_updated, :order => "#{Issue.table_name}.updated_on DESC"
scope :with_limit, lambda { |limit| { :limit => limit} }
scope :on_active_project, :include => [:status, :project, :tracker],
:conditions => ["#{Project.table_name}.status=#{Project::STATUS_ACTIVE}"]