[LON-CAPA-cvs] cvs: loncom(version_2_10_X) / lond

raeburn raeburn@source.lon-capa.org
Tue, 25 Jan 2011 09:39:43 -0000


raeburn		Tue Jan 25 09:39:43 2011 EDT

  Modified files:              (Branch: version_2_10_X)
    /loncom	lond 
  Log:
  - Backport 1.470.
  
  
Index: loncom/lond
diff -u loncom/lond:1.467 loncom/lond:1.467.2.1
--- loncom/lond:1.467	Sun Dec 19 19:32:49 2010
+++ loncom/lond	Tue Jan 25 09:39:42 2011
@@ -2,7 +2,7 @@
 # The LearningOnline Network
 # lond "LON Daemon" Server (port "LOND" 5663)
 #
-# $Id: lond,v 1.467 2010/12/19 19:32:49 www Exp $
+# $Id: lond,v 1.467.2.1 2011/01/25 09:39:42 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -58,7 +58,7 @@
 my $status='';
 my $lastlog='';
 
-my $VERSION='$Revision: 1.467 $'; #' stupid emacs
+my $VERSION='$Revision: 1.467.2.1 $'; #' stupid emacs
 my $remoteVERSION;
 my $currenthostid="default";
 my $currentdomainid;
@@ -5007,10 +5007,11 @@
 sub validate_course_owner_handler {
     my ($cmd, $tail, $client)  = @_;
     my $userinput = "$cmd:$tail";
-    my ($inst_course_id, $owner, $cdom) = split(/:/, $tail);
+    my ($inst_course_id, $owner, $cdom, $coowners) = split(/:/, $tail);
 
     $owner = &unescape($owner);
-    my $outcome = &localenroll::new_course($inst_course_id,$owner,$cdom);
+    $coowners = &unescape($coowners);
+    my $outcome = &localenroll::new_course($inst_course_id,$owner,$cdom,$coowners);
     &Reply($client, \$outcome, $userinput);