lib/taskjuggler/daemon/ReportServer.rb in taskjuggler-3.0.0 vs lib/taskjuggler/daemon/ReportServer.rb in taskjuggler-3.1.0
- old
+ new
@@ -1,11 +1,11 @@
#!/usr/bin/env ruby -w
# encoding: UTF-8
#
# = ReportServer.rb -- The TaskJuggler III Project Management Software
#
-# Copyright (c) 2006, 2007, 2008, 2009, 2010, 2011
+# Copyright (c) 2006, 2007, 2008, 2009, 2010, 2011, 2012
# by Chris Schlaeger <chris@linux.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of version 2 of the GNU General Public License as
# published by the Free Software Foundation.
@@ -97,10 +97,10 @@
@lastPing = TjTime.new
end
def addFile(file)
begin
- @tj.parseFile(file, :properties)
+ @tj.parseFile(file, :reportPropertiesFile)
rescue TjException
return false
end
restartTimer
true