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

raeburn raeburn@source.lon-capa.org
Mon, 29 Mar 2010 17:32:29 -0000


raeburn		Mon Mar 29 17:32:29 2010 EDT

  Modified files:              
    /loncom/interface	lonmodifycourse.pm 
  Log:
  - &Apache::lonnet:: prefix for calls to appenv() and put() subroutines.
  
  
Index: loncom/interface/lonmodifycourse.pm
diff -u loncom/interface/lonmodifycourse.pm:1.51 loncom/interface/lonmodifycourse.pm:1.52
--- loncom/interface/lonmodifycourse.pm:1.51	Mon Mar 15 19:10:59 2010
+++ loncom/interface/lonmodifycourse.pm	Mon Mar 29 17:32:28 2010
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # handler for DC-only modifiable course settings
 #
-# $Id: lonmodifycourse.pm,v 1.51 2010/03/15 19:10:59 raeburn Exp $
+# $Id: lonmodifycourse.pm,v 1.52 2010/03/29 17:32:28 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -931,10 +931,10 @@
                             my %pendinghash = (
                                 'internal.pendingco-owners' => $pendingcoowners,
                             );
-                            my $putresult = &put('environment',\%pendinghash,$cdom,$cnum);
+                            my $putresult = &Apache::lonnet::put('environment',\%pendinghash,$cdom,$cnum);
                             if ($putresult eq 'ok') {
                                 if ($env{'course.'.$cid.'.num'} eq $cnum) {
-                                    &appenv({'course.'.$cid.'.internal.pendingco-owners' => $pendingcoowners});
+                                    &Apache::lonnet::appenv({'course.'.$cid.'.internal.pendingco-owners' => $pendingcoowners});
                                 }
                             }
                         } else {