From 0a0d14d5a797a7a97ad9770ba2b3a6af3c861018 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Mon, 4 May 2009 16:55:47 +0000 Subject: [PATCH] Fixes r2707. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2708 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- lib/tasks/migrate_from_mantis.rake | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/tasks/migrate_from_mantis.rake b/lib/tasks/migrate_from_mantis.rake index 348cba909..aec801004 100644 --- a/lib/tasks/migrate_from_mantis.rake +++ b/lib/tasks/migrate_from_mantis.rake @@ -196,7 +196,12 @@ task :migrate_from_mantis => :environment do end def read(*args) - content + if @read_finished + nil + else + @read_finished = true + content + end end end