[LON-CAPA-cvs] cvs: loncom /lonnet/perl lonnet.pm

www lon-capa-cvs@mail.lon-capa.org
Mon, 09 Dec 2002 19:04:44 -0000


www		Mon Dec  9 14:04:44 2002 EDT

  Modified files:              
    /loncom/lonnet/perl	lonnet.pm 
  Log:
  This is a workaround for Bug #948. Cannot test it here because I cannot get
  printing to work on this box.
  
  
Index: loncom/lonnet/perl/lonnet.pm
diff -u loncom/lonnet/perl/lonnet.pm:1.311 loncom/lonnet/perl/lonnet.pm:1.312
--- loncom/lonnet/perl/lonnet.pm:1.311	Fri Dec  6 11:34:55 2002
+++ loncom/lonnet/perl/lonnet.pm	Mon Dec  9 14:04:44 2002
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # TCP networking package
 #
-# $Id: lonnet.pm,v 1.311 2002/12/06 16:34:55 matthew Exp $
+# $Id: lonnet.pm,v 1.312 2002/12/09 19:04:44 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -729,6 +729,7 @@
 
 sub subscribe {
     my $fname=shift;
+    if ($fname=~/\/(aboutme|syllabus|bulletinboard|smppg)$/) { return ''; }
     my $author=$fname;
     $author=~s/\/home\/httpd\/html\/res\/([^\/]*)\/([^\/]*).*/$1\/$2/;
     my ($udom,$uname)=split(/\//,$author);