summaryrefslogtreecommitdiffstats
path: root/lib/plugins/acts_as_activity_provider
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2015-02-18 21:10:22 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2015-02-18 21:10:22 +0000
commitdbcdc3415d19cbfa57f24813a60154909a983278 (patch)
tree5725fa465c6d7ce43937311606338955da7f8a59 /lib/plugins/acts_as_activity_provider
parent8ad326f1609c693fc6003cb1acfd69e82b8a20ba (diff)
downloadredmine-dbcdc3415d19cbfa57f24813a60154909a983278.tar.gz
redmine-dbcdc3415d19cbfa57f24813a60154909a983278.zip
Removed no longer used :find_options option for acts_as_activity_provider.
git-svn-id: http://svn.redmine.org/redmine/trunk@14030 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/plugins/acts_as_activity_provider')
-rw-r--r--lib/plugins/acts_as_activity_provider/lib/acts_as_activity_provider.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/plugins/acts_as_activity_provider/lib/acts_as_activity_provider.rb b/lib/plugins/acts_as_activity_provider/lib/acts_as_activity_provider.rb
index 0637428d5..5e96651ca 100644
--- a/lib/plugins/acts_as_activity_provider/lib/acts_as_activity_provider.rb
+++ b/lib/plugins/acts_as_activity_provider/lib/acts_as_activity_provider.rb
@@ -29,7 +29,7 @@ module Redmine
send :include, Redmine::Acts::ActivityProvider::InstanceMethods
end
- options.assert_valid_keys(:type, :permission, :timestamp, :author_key, :find_options, :scope)
+ options.assert_valid_keys(:type, :permission, :timestamp, :author_key, :scope)
self.activity_provider_options ||= {}
# One model can provide different event types
@@ -37,7 +37,6 @@ module Redmine
event_type = options.delete(:type) || self.name.underscore.pluralize
options[:timestamp] ||= "#{table_name}.created_on"
- options[:find_options] ||= {}
options[:author_key] = "#{table_name}.#{options[:author_key]}" if options[:author_key].is_a?(Symbol)
self.activity_provider_options[event_type] = options
end