version 1.51, 2010/03/15 19:10:59
|
version 1.52, 2010/03/29 17:32:28
|
Line 931 sub update_coowners {
|
Line 931 sub update_coowners {
|
my %pendinghash = ( |
my %pendinghash = ( |
'internal.pendingco-owners' => $pendingcoowners, |
'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 ($putresult eq 'ok') { |
if ($env{'course.'.$cid.'.num'} eq $cnum) { |
if ($env{'course.'.$cid.'.num'} eq $cnum) { |
&appenv({'course.'.$cid.'.internal.pendingco-owners' => $pendingcoowners}); |
&Apache::lonnet::appenv({'course.'.$cid.'.internal.pendingco-owners' => $pendingcoowners}); |
} |
} |
} |
} |
} else { |
} else { |