From f3a3e3205612982d2b32dddfe3909e06220aa8db Mon Sep 17 00:00:00 2001 From: Konstantin Haase Date: Wed, 16 Mar 2011 10:23:28 +0100 Subject: [PATCH] current_user_id is no longer used --- lib/report/controller.rb | 9 --------- 1 file changed, 9 deletions(-) diff --git a/lib/report/controller.rb b/lib/report/controller.rb index 3761d1ef4c..40930bf6e1 100644 --- a/lib/report/controller.rb +++ b/lib/report/controller.rb @@ -135,15 +135,6 @@ module Report::Controller raise ActiveRecord::RecordNotFound, "No engine found - override #determine_engine" end - ## - # Return the id of the current user, for saving queries. Must be overridden by - # controllers. - def current_user_id - super - rescue NameError - raise NotImplementedError, "#{self.class.name} should have overwritten #current_user_id to return the active user's id" - end - ## # Determines if the request contains filters to set def set_filter? #FIXME: rename to set_query?