aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormatthew <matthew>2009-12-22 13:04:05 +0000
committermatthew <matthew>2009-12-22 13:04:05 +0000
commit5d88bad97ea483d6e74c333fe111910dd2594a79 (patch)
treeb41242b7ed3e76ae939c28a0d61f21e7ff785a6d
parentca43847d9fd9b894f32663e4d976f92f9b749a26 (diff)
One fewer photo on front page.
-rw-r--r--perllib/Cobrands/Barnet/Util.pm8
1 files changed, 7 insertions, 1 deletions
diff --git a/perllib/Cobrands/Barnet/Util.pm b/perllib/Cobrands/Barnet/Util.pm
index 91b1f0e47..8eed687de 100644
--- a/perllib/Cobrands/Barnet/Util.pm
+++ b/perllib/Cobrands/Barnet/Util.pm
@@ -7,7 +7,7 @@
# Copyright (c) 2009 UK Citizens Online Democracy. All rights reserved.
# Email: matthew@mysociety.org. WWW: http://www.mysociety.org
#
-# $Id: Util.pm,v 1.8 2009-12-22 12:50:44 matthew Exp $
+# $Id: Util.pm,v 1.9 2009-12-22 13:04:05 matthew Exp $
package Cobrands::Barnet::Util;
use Standard;
@@ -100,5 +100,11 @@ sub disambiguate_location {
return $s;
}
+sub recent_photos {
+ my ($self, $num, $e, $n, $dist) = @_;
+ $num = 2 if $num == 3;
+ return Problems::recent_photos($num, $e, $n, $dist);
+}
+
1;