summaryrefslogtreecommitdiffstats
path: root/extensions/Gravatar
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@mozilla.com>2015-10-21 05:00:37 +0200
committerDavid Lawrence <dkl@mozilla.com>2015-10-21 05:00:37 +0200
commitc8cf2b58bae632b6801337971323d37cf9f5a0f0 (patch)
tree9825f8b4c9ace9343678595c3a6cbe14ce9bb6e9 /extensions/Gravatar
parentd1b6f1d78bdcde363cbcc80c4e589742819a4e24 (diff)
downloadbugzilla-c8cf2b58bae632b6801337971323d37cf9f5a0f0.tar.gz
bugzilla-c8cf2b58bae632b6801337971323d37cf9f5a0f0.tar.xz
Bug 1209599 - group general preferences by category
Diffstat (limited to 'extensions/Gravatar')
-rw-r--r--extensions/Gravatar/Extension.pm14
1 files changed, 12 insertions, 2 deletions
diff --git a/extensions/Gravatar/Extension.pm b/extensions/Gravatar/Extension.pm
index 3338790e7..06e98fb78 100644
--- a/extensions/Gravatar/Extension.pm
+++ b/extensions/Gravatar/Extension.pm
@@ -38,8 +38,18 @@ sub _user_gravatar {
sub install_before_final_checks {
my ($self, $args) = @_;
- add_setting('show_gravatars', ['On', 'Off'], 'Off');
- add_setting('show_my_gravatar', ['On', 'Off'], 'On');
+ add_setting({
+ name => 'show_gravatars',
+ options => ['On', 'Off'],
+ default => 'Off',
+ category => 'Bug Editing'
+ });
+ add_setting({
+ name => 'show_my_gravatar',
+ options => ['On', 'Off'],
+ default => 'On',
+ category => 'Bug Editing'
+ });
}
__PACKAGE__->NAME;