[LON-CAPA-cvs] cvs: loncom / lonlocal.pm

albertel lon-capa-cvs@mail.lon-capa.org
Fri, 17 Sep 2004 03:00:42 -0000


albertel		Thu Sep 16 23:00:42 2004 EDT

  Modified files:              
    /loncom	lonlocal.pm 
  Log:
  - stop the log spew
  
  
Index: loncom/lonlocal.pm
diff -u loncom/lonlocal.pm:1.6 loncom/lonlocal.pm:1.7
--- loncom/lonlocal.pm:1.6	Thu Jun 17 06:15:46 2004
+++ loncom/lonlocal.pm	Thu Sep 16 23:00:42 2004
@@ -1,5 +1,5 @@
 #
-# $Id: lonlocal.pm,v 1.6 2004/06/17 10:15:46 foxr Exp $
+# $Id: lonlocal.pm,v 1.7 2004/09/17 03:00:42 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -62,7 +62,7 @@
 
 sub Debug {
     my $msg = shift;
-    print STDERR "$msg\n";
+    if ($DEBUG) { print STDERR "$msg\n"; }
 }
 
 # Initialization