Diff for /loncom/lonnet/perl/lonnet.pm between versions 1.658 and 1.659

version 1.658, 2005/10/04 16:26:15 version 1.659, 2005/10/04 17:28:08
Line 3228  sub allowed { Line 3228  sub allowed {
 # --------------------------------------------------- Is a resource on the map?  # --------------------------------------------------- Is a resource on the map?
   
 sub is_on_map {  sub is_on_map {
     my $uri=&declutter(shift);      my $uri=&deversion(&declutter(shift));
     $uri=~s/\.\d+\.(\w+)$/\.$1/;  
     my @uriparts=split(/\//,$uri);      my @uriparts=split(/\//,$uri);
     my $filename=$uriparts[$#uriparts];      my $filename=$uriparts[$#uriparts];
     my $pathname=$uri;      my $pathname=$uri;

Removed from v.1.658  
changed lines
  Added in v.1.659


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>