Removed deprecated methods.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7977 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang committed 2011-11-29 18:11:11 +00:00
1 parent d66c8faa9b
commit b8836d89b1
2 files changed
-13

No files matched your search

-5
View File
@@ -123,11 +123,6 @@ class Project < ActiveRecord::Base
user.allowed_to?(:view_project, self)
end
def self.visible_by(user=nil)
ActiveSupport::Deprecation.warn "Project.visible_by is deprecated and will be removed in Redmine 1.3.0. Use Project.visible_condition instead."
visible_condition(user || User.current)
end
# Returns a SQL conditions string used to find all projects visible by the specified user.
#
# Examples: