diff options
author | Matthew Somerville <matthew@mysociety.org> | 2011-06-14 09:47:56 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2011-06-14 09:47:56 +0100 |
commit | 815ce1e98c6024ec0ea4b2843981a00bfd88507e (patch) | |
tree | bf1dfb5152d837a3cd50e4aa66f590cc2f870c6c /bin/send-reports | |
parent | ee89cb7cf39e7c578955d6a1f9bdeefb20b8193c (diff) |
Move country to cobrand rather than config option.
Diffstat (limited to 'bin/send-reports')
-rwxr-xr-x | bin/send-reports | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/send-reports b/bin/send-reports index 9d6f79d36..b55447e8a 100755 --- a/bin/send-reports +++ b/bin/send-reports @@ -79,7 +79,7 @@ while (my $row = $unsent->next) { # If we are in the UK include eastings and northings, and nearest stuff $h{easting_northing} = ''; - if ( mySociety::Config::get('COUNTRY') eq 'GB' ) { + if ( $cobrand->country eq 'GB' ) { ( $h{easting}, $h{northing} ) = Utils::convert_latlon_to_en( $h{latitude}, $h{longitude} ); |