[LON-CAPA-cvs] cvs: loncom /automation batchcreatecourse.pm

raeburn lon-capa-cvs-allow@mail.lon-capa.org
Thu, 01 May 2008 02:48:50 -0000


raeburn		Wed Apr 30 22:48:50 2008 EDT

  Modified files:              
    /loncom/automation	batchcreatecourse.pm 
  Log:
  Bug 5176. Record role changes for course in nohist_rolelog.db
  - Include $context in call to &lonnet:;assignrole()  
  
  
Index: loncom/automation/batchcreatecourse.pm
diff -u loncom/automation/batchcreatecourse.pm:1.25 loncom/automation/batchcreatecourse.pm:1.26
--- loncom/automation/batchcreatecourse.pm:1.25	Wed Feb  6 20:43:21 2008
+++ loncom/automation/batchcreatecourse.pm	Wed Apr 30 22:48:49 2008
@@ -1,5 +1,5 @@
 #
-# $Id: batchcreatecourse.pm,v 1.25 2008/02/07 01:43:21 raeburn Exp $
+# $Id: batchcreatecourse.pm,v 1.26 2008/05/01 02:48:49 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -510,7 +510,7 @@
 # Make owner a course coordinator
 #
     if (($owner_domain) && ($owner_uname)) {
-        &Apache::lonnet::assignrole($owner_domain,$owner_uname,$courseid,'cc');
+        &Apache::lonnet::assignrole($owner_domain,$owner_uname,$courseid,'cc','','','','',$context);
     }
 
 #