aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2013-01-31 16:15:46 +0000
committerMatthew Somerville <matthew@mysociety.org>2013-01-31 16:15:46 +0000
commited9ad60d98454cfabd240040650f73db03aa37e4 (patch)
tree400591eb1f1a369489cd886c7a39130cea721c4d /perllib/FixMyStreet
parent0d6596e57f5fa3759612bb177e30f8b4ba0d6302 (diff)
Fix front page stats (fixes a33).
Diffstat (limited to 'perllib/FixMyStreet')
-rw-r--r--perllib/FixMyStreet/Cobrand/Zurich.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Zurich.pm b/perllib/FixMyStreet/Cobrand/Zurich.pm
index eccd43ebb..c7b2f534f 100644
--- a/perllib/FixMyStreet/Cobrand/Zurich.pm
+++ b/perllib/FixMyStreet/Cobrand/Zurich.pm
@@ -7,6 +7,10 @@ use POSIX qw(strcoll);
use strict;
use warnings;
+sub shorten_recency_if_new_greater_than_fixed {
+ return 0;
+}
+
sub pin_colour {
my ( $self, $p, $context ) = @_;
return 'green' if $p->is_fixed || $p->is_closed;