summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/helpers/application_helper.rb18
1 files changed, 0 insertions, 18 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb
index b43f817ba..e14cff2e7 100644
--- a/app/helpers/application_helper.rb
+++ b/app/helpers/application_helper.rb
@@ -503,24 +503,6 @@ module ApplicationHelper
str.blank? ? nil : str
end
- def reorder_links(name, url, method = :post)
- # TODO: remove associated styles from application.css too
- ActiveSupport::Deprecation.warn "Application#reorder_links will be removed in Redmine 4."
-
- link_to(l(:label_sort_highest),
- url.merge({"#{name}[move_to]" => 'highest'}), :method => method,
- :title => l(:label_sort_highest), :class => 'icon-only icon-move-top') +
- link_to(l(:label_sort_higher),
- url.merge({"#{name}[move_to]" => 'higher'}), :method => method,
- :title => l(:label_sort_higher), :class => 'icon-only icon-move-up') +
- link_to(l(:label_sort_lower),
- url.merge({"#{name}[move_to]" => 'lower'}), :method => method,
- :title => l(:label_sort_lower), :class => 'icon-only icon-move-down') +
- link_to(l(:label_sort_lowest),
- url.merge({"#{name}[move_to]" => 'lowest'}), :method => method,
- :title => l(:label_sort_lowest), :class => 'icon-only icon-move-bottom')
- end
-
def reorder_handle(object, options={})
data = {
:reorder_url => options[:url] || url_for(object),