summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/redmine/acts/positioned.rb16
1 files changed, 0 insertions, 16 deletions
diff --git a/lib/redmine/acts/positioned.rb b/lib/redmine/acts/positioned.rb
index a322f1346..75041fe38 100644
--- a/lib/redmine/acts/positioned.rb
+++ b/lib/redmine/acts/positioned.rb
@@ -47,22 +47,6 @@ module Redmine
base.extend ClassMethods
end
- # Move to the given position
- # For compatibility with the previous way of sorting items
- def move_to=(pos)
- case pos.to_s
- when 'highest'
- self.position = 1
- when 'higher'
- self.position -= 1 if position > 1
- when 'lower'
- self.position += 1
- when 'lowest'
- self.position = nil
- set_default_position
- end
- end
-
private
def position_scope