mirror of
https://github.com/redmine/redmine.git
synced 2026-01-28 18:29:58 +01:00
Deprecates unused stuff (#12909).
git-svn-id: http://svn.redmine.org/redmine/trunk@15338 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -454,6 +454,9 @@ module ApplicationHelper
|
||||
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') +
|
||||
|
||||
@@ -31,6 +31,7 @@ module ActiveRecord
|
||||
# to give it an entire string that is interpolated if you need a tighter scope than just a foreign key.
|
||||
# Example: <tt>acts_as_list :scope => 'todo_list_id = #{todo_list_id} AND completed = 0'</tt>
|
||||
def acts_as_list(options = {})
|
||||
ActiveSupport::Deprecation.warn "The acts_as_list plugin will be removed from Redmine 4 core, use the acts_as_list gem or similar implementation instead."
|
||||
configuration = { :column => "position", :scope => "1 = 1" }
|
||||
configuration.update(options) if options.is_a?(Hash)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user