[LON-CAPA-cvs] cvs: loncom /interface courseprefs.pm
raeburn
raeburn@source.lon-capa.org
Tue, 13 Oct 2009 04:48:03 -0000
raeburn Tue Oct 13 04:48:03 2009 EDT
Modified files:
/loncom/interface courseprefs.pm
Log:
- scope.
Index: loncom/interface/courseprefs.pm
diff -u loncom/interface/courseprefs.pm:1.7 loncom/interface/courseprefs.pm:1.8
--- loncom/interface/courseprefs.pm:1.7 Fri Sep 4 21:42:38 2009
+++ loncom/interface/courseprefs.pm Tue Oct 13 04:48:03 2009
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Handler to set configuration settings for a course
#
-# $Id: courseprefs.pm,v 1.7 2009/09/04 21:42:38 raeburn Exp $
+# $Id: courseprefs.pm,v 1.8 2009/10/13 04:48:03 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -554,7 +554,6 @@
if ($newvalues{$ext_entry} ne $values->{$stdrole.'.plaintext'}) {
my $dupname = 0;
if ($newvalues{$ext_entry} ne '') {
- my $dupname = 0;
if (grep(/^\Q$newvalues{$ext_entry}\E$/,@replacements)) {
$dupname = 1;
push(@{$disallowed->{'rolenames'}{'replacements'}},$newvalues{$ext_entry});