Index: /trunk/tools/czartool/CzarDb.pm
===================================================================
--- /trunk/tools/czartool/CzarDb.pm	(revision 28783)
+++ /trunk/tools/czartool/CzarDb.pm	(revision 28784)
@@ -135,23 +135,4 @@
 }
 
-
-###########################################################################
-#
-# Gets time difference in seconds for these two times 
-#
-###########################################################################
-sub getTimeDifference { # TODO fix this
-    my ($self, $fromTime, $toTime) = @_; 
-
-    my $query = $self->{_db}->prepare(<<SQL);
-    SELECT 
-        TIME_TO_SEC(TIMEDIFF($fromTime, $toTime))
-SQL
-
-    $query->execute;
-
-    return $query->fetchrow_array();
-}
-
 ###########################################################################
 #
@@ -162,5 +143,5 @@
     my ($self, $label, $stage, $fromTime, $toTime, $minX, $maxX, $minY, $maxY, $timeDiff) = @_;
 
-    my $dataFile = "/tmp/czarplot_gnuplot_".$label."_".$stage."_t.dat"; # TODO use stage not table
+    my $dataFile = "/tmp/czarplot_gnuplot_".$label."_".$stage."_t.dat";
     open (GNUDAT, ">$dataFile");
 
