From 912cbe84d55b8deb765019e3d209269997041ab9 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 23 Mar 2010 06:06:11 -0400 Subject: [PATCH] Removing extraneous error messages from previous commit --- app/models/group.rb | 1 - app/models/unauthenticated_user.rb | 1 - 2 files changed, 2 deletions(-) diff --git a/app/models/group.rb b/app/models/group.rb index b5c73b6f4..21fa95662 100644 --- a/app/models/group.rb +++ b/app/models/group.rb @@ -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. diff --git a/app/models/unauthenticated_user.rb b/app/models/unauthenticated_user.rb index 784c05afa..867fc13df 100644 --- a/app/models/unauthenticated_user.rb +++ b/app/models/unauthenticated_user.rb @@ -28,7 +28,6 @@ def member_of?(group) end def method_missing(method) - RAILS_DEFAULT_LOGGER.error "UnauthenticatedUser#PermissionDenied (#{method})" raise PermissionDenied end