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

matthew lon-capa-cvs@mail.lon-capa.org
Wed, 02 Mar 2005 20:35:46 -0000


matthew		Wed Mar  2 15:35:46 2005 EDT

  Modified files:              
    /loncom/interface	loncommon.pm 
  Log:
  There is no loncommon::symbread, so I assume we need lonnet::symbread.
  
  
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.253 loncom/interface/loncommon.pm:1.254
--- loncom/interface/loncommon.pm:1.253	Mon Feb 28 02:59:42 2005
+++ loncom/interface/loncommon.pm	Wed Mar  2 15:35:46 2005
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # a pile of common routines
 #
-# $Id: loncommon.pm,v 1.253 2005/02/28 07:59:42 albertel Exp $
+# $Id: loncommon.pm,v 1.254 2005/03/02 20:35:46 matthew Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -2355,7 +2355,7 @@
 	    &Apache::lonxml::whichuser($symb);
 	if (!$symb) { $symb=$cursymb; }
     }
-    if (!$symb) { $symb=&symbread(); }
+    if (!$symb) { $symb=&Apache::lonnet::symbread(); }
     $symb=&Apache::lonnet::escape($symb);
     if ($target) { $target="target=\"$target\""; }
     return '<a href="/adm/grades?&command=submission&'.
@@ -2401,7 +2401,7 @@
 	    &Apache::lonxml::whichuser($symb);
 	if (!$symb) { $symb=$cursymb; }
     }
-    if (!$symb) { $symb=&symbread(); }
+    if (!$symb) { $symb=&Apache::lonnet::symbread(); }
     $symb=&Apache::lonnet::escape($symb);
     if ($target) { $target="target=\"$target\""; }
     return '<a href="/adm/parmset?&command=set&'.