aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/CronFns.pm
diff options
context:
space:
mode:
authorMarius Halden <marius.h@lden.org>2016-05-28 13:49:00 +0200
committerMarius Halden <marius.h@lden.org>2016-05-28 13:49:00 +0200
commit6791ce86ae15adbded24bd814a78cc0e87f404fa (patch)
tree99af5da31e4db091350a09bcdee913c99abc2fc3 /perllib/CronFns.pm
parent6c1118dbf2c4b15bcfcd77600d36f2389428c75e (diff)
parent89b0efeb94631c4c31ce33e7f98297e754dd226d (diff)
Merge tag 'v1.8.2' into fiksgatami-dev
Diffstat (limited to 'perllib/CronFns.pm')
-rwxr-xr-xperllib/CronFns.pm10
1 files changed, 2 insertions, 8 deletions
diff --git a/perllib/CronFns.pm b/perllib/CronFns.pm
index 545526c8e..888817e05 100755
--- a/perllib/CronFns.pm
+++ b/perllib/CronFns.pm
@@ -26,20 +26,14 @@ sub options {
sub site {
my $base_url = shift;
my $site = 'fixmystreet';
- $site = 'emptyhomes' if $base_url =~ 'emptyhomes';
$site = 'zurich' if $base_url =~ /zurich|zueri/;
return $site;
}
sub language {
my $site = shift;
- if ($site eq 'emptyhomes') {
- mySociety::Locale::negotiate_language('en-gb,English,en_GB|cy,Cymraeg,cy_GB');
- mySociety::Locale::gettext_domain('FixMyStreet-EmptyHomes', 1);
- } else {
- mySociety::Locale::negotiate_language('en-gb,English,en_GB|nb,Norwegian,nb_NO'); # XXX Testing
- mySociety::Locale::gettext_domain('FixMyStreet', 1);
- }
+ mySociety::Locale::negotiate_language('en-gb,English,en_GB|nb,Norwegian,nb_NO'); # XXX Testing
+ mySociety::Locale::gettext_domain('FixMyStreet', 1);
}
1;