[LON-CAPA-cvs] cvs: loncom /interface/statistics lonstathelpers.pm

matthew lon-capa-cvs@mail.lon-capa.org
Tue, 28 Dec 2004 20:28:48 -0000


matthew		Tue Dec 28 15:28:48 2004 EDT

  Modified files:              
    /loncom/interface/statistics	lonstathelpers.pm 
  Log:
  Removed unused &get_title subroutine.
  
  
Index: loncom/interface/statistics/lonstathelpers.pm
diff -u loncom/interface/statistics/lonstathelpers.pm:1.34 loncom/interface/statistics/lonstathelpers.pm:1.35
--- loncom/interface/statistics/lonstathelpers.pm:1.34	Tue Dec  7 11:04:06 2004
+++ loncom/interface/statistics/lonstathelpers.pm	Tue Dec 28 15:28:47 2004
@@ -1,6 +1,6 @@
 # The LearningOnline Network with CAPA
 #
-# $Id: lonstathelpers.pm,v 1.34 2004/12/07 16:04:06 matthew Exp $
+# $Id: lonstathelpers.pm,v 1.35 2004/12/28 20:28:47 matthew Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -282,16 +282,6 @@
     return $Str;
 }
 
-sub get_title {
-    my ($title,$src) = @_;
-    if ($title eq '') {
-        ($title) = ($src =~ m|/([^/]+)$|);
-    } else {
-        $title =~ s/\:/:/g;
-    }
-    return $title;
-}
-
 sub new_accumulator {
     my ($title,$src,$symb,$seq_id,$inputname) = @_;
     my $target;