From d112c5a911196329d81f89b7313e48f12951a3c3 Mon Sep 17 00:00:00 2001 From: lizanle <491823689@qq.com> Date: Tue, 27 Jan 2015 13:46:47 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E4=BA=86=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../acts_as_activity_provider/lib/acts_as_activity_provider.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 f467ef873..b7cb8c17d 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 @@ -96,7 +96,7 @@ module Redmine end # Time 2015-01-27 13:34:40 # Author lizanle - # Description 这段代码增加了时间跨度,时间跨度应该由管理员来调整,所以应该去掉 + # Description 这段代码就用scope.all进行了查询,拖慢了速度,并且增加了时间跨度,时间跨度应该由管理员来调整,所以应该去掉 =begin unless scope.all(provider_options[:find_options].dup).first.nil? if provider_options[:timestamp].include? "updated_on"