summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2015-07-28 16:42:51 +0200
committerByron Jones <glob@mozilla.com>2015-07-28 16:43:24 +0200
commit1852f4ec757270834a874b1bdbd899389965b105 (patch)
treee3aff2a79ce16dbe129cacfd7f23b5fef02b399f
parentbcccce4c7086f4e2f70340887d9ebe4085bf67c4 (diff)
downloadbugzilla-1852f4ec757270834a874b1bdbd899389965b105.tar.gz
bugzilla-1852f4ec757270834a874b1bdbd899389965b105.tar.xz
Bug 1188374 - disable account disabling
-rw-r--r--template/en/default/account/prefs/account.html.tmpl2
-rwxr-xr-xuserprefs.cgi2
2 files changed, 3 insertions, 1 deletions
diff --git a/template/en/default/account/prefs/account.html.tmpl b/template/en/default/account/prefs/account.html.tmpl
index 919563440..98ce6963f 100644
--- a/template/en/default/account/prefs/account.html.tmpl
+++ b/template/en/default/account/prefs/account.html.tmpl
@@ -118,6 +118,7 @@
</tr>
[% END %]
+<!--
<tr>
<td></td>
<td>
@@ -145,5 +146,6 @@
<td></td>
<td><hr></td>
</tr>
+-->
</table>
diff --git a/userprefs.cgi b/userprefs.cgi
index 52c5adba0..2814e578c 100755
--- a/userprefs.cgi
+++ b/userprefs.cgi
@@ -639,7 +639,7 @@ SWITCH: for ($current_tab_name) {
last SWITCH if $handled;
/^account$/ && do {
- DisableAccount() if $cgi->param('account_disable');
+ # XXX DisableAccount() if $cgi->param('account_disable');
SaveAccount() if $save_changes;
DoAccount();
last SWITCH;