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

raeburn raeburn@source.lon-capa.org
Mon, 15 Dec 2008 15:46:35 -0000


raeburn		Mon Dec 15 15:46:35 2008 EDT

  Modified files:              
    /loncom/interface	lonaboutme.pm 
  Log:
  - Add package context for calls to &allowed().
  
  
Index: loncom/interface/lonaboutme.pm
diff -u loncom/interface/lonaboutme.pm:1.83 loncom/interface/lonaboutme.pm:1.84
--- loncom/interface/lonaboutme.pm:1.83	Thu Dec 11 10:48:05 2008
+++ loncom/interface/lonaboutme.pm	Mon Dec 15 15:46:35 2008
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # "About Me" Personal Information
 #
-# $Id: lonaboutme.pm,v 1.83 2008/12/11 10:48:05 schualex Exp $
+# $Id: lonaboutme.pm,v 1.84 2008/12/15 15:46:35 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -780,7 +780,8 @@
         $cdom = $coursehash{'domain'};
         $cnum = $coursehash{'cnum'};
     }
-    if ((&allowed('srm',$privcheck)) || (&allowed('dff',$privcheck))) {
+    if ((&Apache::lonnet::allowed('srm',$privcheck)) || 
+        (&Apache::lonnet::allowed('dff',$privcheck))) {
         if (&in_course($uname,$udom,$cnum,$cdom)) {
             return 1;
         }