Removes a useless assignment in Trac importer (#4931).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3494 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2010-02-26 15:55:02 +00:00
parent bfed36ac84
commit c7c43d38ce
1 changed files with 1 additions and 1 deletions

View File

@ -310,7 +310,7 @@ namespace :redmine do
# Ticket number re-writing # Ticket number re-writing
text = text.gsub(/#(\d+)/) do |s| text = text.gsub(/#(\d+)/) do |s|
if $1.length < 10 if $1.length < 10
TICKET_MAP[$1.to_i] ||= $1 # TICKET_MAP[$1.to_i] ||= $1
"\##{TICKET_MAP[$1.to_i] || $1}" "\##{TICKET_MAP[$1.to_i] || $1}"
else else
s s