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

raeburn lon-capa-cvs-allow@mail.lon-capa.org
Wed, 30 Apr 2008 23:23:11 -0000


raeburn		Wed Apr 30 19:23:11 2008 EDT

  Modified files:              
    /loncom/interface	loncreatecourse.pm 
  Log:
  Bug 5176. Record role changes in a course in nohist_rolelog.db
  - Pass 'createcourse' along as context argument to lonnet::assignrole(). 
  
  
Index: loncom/interface/loncreatecourse.pm
diff -u loncom/interface/loncreatecourse.pm:1.106 loncom/interface/loncreatecourse.pm:1.107
--- loncom/interface/loncreatecourse.pm:1.106	Tue Jan 22 17:37:18 2008
+++ loncom/interface/loncreatecourse.pm	Wed Apr 30 19:23:07 2008
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Create a course
 #
-# $Id: loncreatecourse.pm,v 1.106 2008/01/22 22:37:18 www Exp $
+# $Id: loncreatecourse.pm,v 1.107 2008/04/30 23:23:07 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -695,7 +695,7 @@
 	    $r->print(&mt('Assigning role of [_1] Coordinator to [_2] at [_3]: ',
 			  $crstype,$ccuname,$ccdomain).
 		      &Apache::lonnet::assignrole($ccdomain,$ccuname,$courseid,
-						  'cc').'<p>');
+						  'cc','','','','','createcourse').'<p>');
 	}
 	if ($env{'form.setkeys'}) {
 	    $r->print(