summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorMarius Balteanu <marius.balteanu@zitec.com>2021-10-21 06:30:52 +0000
committerMarius Balteanu <marius.balteanu@zitec.com>2021-10-21 06:30:52 +0000
commitfe5c3f81de620ebe1c7cc61dcd4a41165c78de00 (patch)
treeb75bd850be526350c514bf51af5214ec8aa26d02 /app
parent0dd9fbb806effd44327f9945542c1d05ef8544c1 (diff)
downloadredmine-fe5c3f81de620ebe1c7cc61dcd4a41165c78de00.tar.gz
redmine-fe5c3f81de620ebe1c7cc61dcd4a41165c78de00.zip
Revert changes made in r21251 due to a test fail (#29914, #32938).
git-svn-id: http://svn.redmine.org/redmine/trunk@21254 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r--app/models/wiki_annotate.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/models/wiki_annotate.rb b/app/models/wiki_annotate.rb
index c0411e3a6..3be95ca0e 100644
--- a/app/models/wiki_annotate.rb
+++ b/app/models/wiki_annotate.rb
@@ -37,6 +37,9 @@ class WikiAnnotate
@lines[positions[line]][1] = current.author
end
end
+ end
+ d.each_slice(3) do |s|
+ sign, line = s[0], s[1]
if sign == '-'
positions.insert(line, -1)
else