aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/Cobrands/Barnet/Util.pm
diff options
context:
space:
mode:
authorEdmund von der Burg <evdb@mysociety.org>2011-02-07 21:11:25 +0000
committerEdmund von der Burg <evdb@mysociety.org>2011-02-07 21:11:25 +0000
commit61f36cfb38ba19943cf911b0fe51a20ad3b55808 (patch)
tree150ea58c3e8d56ca29771851167857a5f6ee0dd1 /perllib/Cobrands/Barnet/Util.pm
parent575bb55184d5ff4304b4a8e9b70e5cec3266b031 (diff)
migrate recent_photos and where it is used
Diffstat (limited to 'perllib/Cobrands/Barnet/Util.pm')
-rw-r--r--perllib/Cobrands/Barnet/Util.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perllib/Cobrands/Barnet/Util.pm b/perllib/Cobrands/Barnet/Util.pm
index 32973c10c..ad6fa3919 100644
--- a/perllib/Cobrands/Barnet/Util.pm
+++ b/perllib/Cobrands/Barnet/Util.pm
@@ -104,9 +104,9 @@ sub disambiguate_location {
}
sub recent_photos {
- my ($self, $num, $e, $n, $dist) = @_;
+ my ($self, $num, $lat, $lon, $dist) = @_;
$num = 2 if $num == 3;
- return Problems::recent_photos($num, $e, $n, $dist);
+ return Problems::recent_photos($num, $lat, $lon, $dist);
}
1;