[LON-CAPA-cvs] cvs: loncom /interface lonpreferences.pm
raeburn
raeburn at source.lon-capa.org
Fri Apr 27 18:42:20 EDT 2018
raeburn Fri Apr 27 22:42:20 2018 EDT
Modified files:
/loncom/interface lonpreferences.pm
Log:
- Eliminate duplicate calls to loncommon::end_page().
Index: loncom/interface/lonpreferences.pm
diff -u loncom/interface/lonpreferences.pm:1.226 loncom/interface/lonpreferences.pm:1.227
--- loncom/interface/lonpreferences.pm:1.226 Fri Apr 27 21:39:42 2018
+++ loncom/interface/lonpreferences.pm Fri Apr 27 22:42:20 2018
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Preferences
#
-# $Id: lonpreferences.pm,v 1.226 2018/04/27 21:39:42 raeburn Exp $
+# $Id: lonpreferences.pm,v 1.227 2018/04/27 22:42:20 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -2290,7 +2290,7 @@
}elsif($env{'form.action'} eq 'changepass'){
&passwordchanger($r);
}elsif($env{'form.action'} eq 'verify_and_change_pass'){
- &verify_and_change_password($r,'preferences','',\$ended));
+ &verify_and_change_password($r,'preferences','',\$ended);
}elsif($env{'form.action'} eq 'changescreenname'){
&screennamechanger($r);
}elsif($env{'form.action'} eq 'verify_and_change_screenname'){
@@ -2314,6 +2314,7 @@
&wysiwygchanger($r);
}elsif($env{'form.action'} eq 'set_wysiwyg'){
&verify_and_change_wysiwyg($r);
+ $ended = 1;
}elsif($env{'form.action'} eq 'changediscussions'){
&discussionchanger($r);
}elsif($env{'form.action'} eq 'verify_and_change_discussion'){
@@ -2328,6 +2329,7 @@
&texenginechanger($r);
}elsif($env{'form.action'} eq 'verify_and_change_texengine'){
&verify_and_change_texengine($r);
+ $ended = 1;
}elsif($env{'form.action'} eq 'changeicons'){
&iconchanger($r);
}elsif($env{'form.action'} eq 'verify_and_change_icons'){
@@ -2337,6 +2339,7 @@
&clickerchanger($r);
}elsif($env{'form.action'} eq 'verify_and_change_clicker'){
&verify_and_change_clicker($r);
+ $ended = 1;
}elsif($env{'form.action'} eq 'changedomcoord'){
&domcoordchanger($r);
}elsif($env{'form.action'} eq 'verify_and_change_domcoord'){
@@ -2355,6 +2358,7 @@
&author_space_settings($r);
}elsif($env{'form.action'} eq 'change_authoring_settings'){
&change_authoring_settings($r);
+ $ended = 1;
}elsif($env{'form.action'} eq 'debugtoggle'){
if (&can_toggle_debug()) {
&toggle_debug();
More information about the LON-CAPA-cvs
mailing list