Skip to content

Commit

Permalink
Item14002: Use JSON::true for boolean settings
Browse files Browse the repository at this point in the history
Thanks to MichaelDaum for the assist.
  • Loading branch information
gac410 committed Mar 1, 2016
1 parent 2e5eade commit efc3386
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions core/tools/develop/foswiki-github-hooks.pl
Expand Up @@ -25,6 +25,7 @@
use Net::GitHub::V3;
use Time::Local;
use Data::Dumper;
use JSON;

# Set to 1 for basic information, 2 for dump of github responses
use constant VERBOSE => 0;
Expand All @@ -42,7 +43,7 @@
my %HOOKS = (
email => {
'name' => 'email',
'active' => '1',
'active' => JSON::true,
'config' => {
'address' => 'foswiki-svn@lists.sourceforge.net',
'secret' => $secrets->{'mailman_secret'},
Expand All @@ -51,7 +52,7 @@
},
irc => {
'name' => 'irc',
'active' => '1',
'active' => JSON::true,
'config' => {
'server' => 'chat.freenode.net',
'port' => '6667',
Expand All @@ -62,7 +63,7 @@
},
web => {
'name' => 'web',
'active' => '1',
'active' => JSON::true,
'config' => {
'url' =>
'http://trunk.foswiki.org/bin/rest/FoswikiOrgPlugin/githubpush',
Expand Down

0 comments on commit efc3386

Please sign in to comment.