diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-12-12 21:39:43 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-12-12 21:39:43 +0000 |
commit | 47f331a63b7305b49fa03a44f98af79b7f62ea0a (patch) | |
tree | 41c744f23dc4951ff4807864f91aaf3a33e617d3 | |
parent | 996b39cde142b5eb69a94c680d696e4a880ab9bf (diff) | |
download | redmine-47f331a63b7305b49fa03a44f98af79b7f62ea0a.tar.gz redmine-47f331a63b7305b49fa03a44f98af79b7f62ea0a.zip |
Removed unused helper.
git-svn-id: http://svn.redmine.org/redmine/trunk@13741 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | app/helpers/timelog_helper.rb | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/app/helpers/timelog_helper.rb b/app/helpers/timelog_helper.rb index c68d2c0c5..d53f68b42 100644 --- a/app/helpers/timelog_helper.rb +++ b/app/helpers/timelog_helper.rb @@ -71,21 +71,6 @@ module TimelogHelper sum end - def options_for_period_select(value) - options_for_select([[l(:label_all_time), 'all'], - [l(:label_today), 'today'], - [l(:label_yesterday), 'yesterday'], - [l(:label_this_week), 'current_week'], - [l(:label_last_week), 'last_week'], - [l(:label_last_n_weeks, 2), 'last_2_weeks'], - [l(:label_last_n_days, 7), '7_days'], - [l(:label_this_month), 'current_month'], - [l(:label_last_month), 'last_month'], - [l(:label_last_n_days, 30), '30_days'], - [l(:label_this_year), 'current_year']], - value) - end - def format_criteria_value(criteria_options, value) if value.blank? "[#{l(:label_none)}]" |