Skip to content

Commit

Permalink
Removing extraneous error messages from previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
root authored and root committed Mar 23, 2010
1 parent f5f12e5 commit 912cbe8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion app/models/group.rb
Expand Up @@ -48,7 +48,6 @@ class Group < ActiveRecord::Base

# finds groups that user may see
named_scope :visible_by, lambda { |user|
logger.error "VIsible_by: #{user.inspect}"
group_ids = user ? Group.namespace_ids(user.all_group_ids) : []
# The grouping serves as a distinct.
# A DISTINCT term in the select seems to get striped of by rails.
Expand Down
1 change: 0 additions & 1 deletion app/models/unauthenticated_user.rb
Expand Up @@ -28,7 +28,6 @@ def member_of?(group)
end

def method_missing(method)
RAILS_DEFAULT_LOGGER.error "UnauthenticatedUser#PermissionDenied (#{method})"
raise PermissionDenied
end

Expand Down

0 comments on commit 912cbe8

Please sign in to comment.