aboutsummaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rwxr-xr-xweb/ajax.cgi4
-rwxr-xr-xweb/index.cgi4
2 files changed, 2 insertions, 6 deletions
diff --git a/web/ajax.cgi b/web/ajax.cgi
index 4c668704c..aa640a854 100755
--- a/web/ajax.cgi
+++ b/web/ajax.cgi
@@ -6,7 +6,7 @@
# Copyright (c) 2008 UK Citizens Online Democracy. All rights reserved.
# Email: matthew@mysociety.org. WWW: http://www.mysociety.org
#
-# $Id: ajax.cgi,v 1.15 2009-10-21 15:05:55 louise Exp $
+# $Id: ajax.cgi,v 1.16 2009-11-16 10:55:42 louise Exp $
use strict;
use Standard;
@@ -37,8 +37,6 @@ sub main {
}
my ($pins, $on_map, $around_map, $dist) = Page::map_pins($q, $x, $y, $sx, $sy, $interval);
my $cobrand = Page::get_cobrand($q);
- my $limit = Cobrand::on_map_list_limit($cobrand);
- ($on_map, $around_map) = Page::apply_on_map_list_limit($on_map, $around_map, $limit);
my $list = '';
my $link = '';
foreach (@$on_map) {
diff --git a/web/index.cgi b/web/index.cgi
index b88a55979..355c63ded 100755
--- a/web/index.cgi
+++ b/web/index.cgi
@@ -6,7 +6,7 @@
# Copyright (c) 2006 UK Citizens Online Democracy. All rights reserved.
# Email: matthew@mysociety.org. WWW: http://www.mysociety.org
#
-# $Id: index.cgi,v 1.317 2009-11-12 14:59:35 louise Exp $
+# $Id: index.cgi,v 1.318 2009-11-16 10:55:42 louise Exp $
use strict;
use Standard;
@@ -829,8 +829,6 @@ sub display_location {
$interval = '6 months';
}
my ($pins, $on_map, $around_map, $dist) = Page::map_pins($q, $x, $y, $x, $y, $interval);
- my $limit = Cobrand::on_map_list_limit($cobrand);
- ($on_map, $around_map) = Page::apply_on_map_list_limit($on_map, $around_map, $limit);
if ($input{no_pins}) {
$hide_link = NewURL($q, -retain=>1, no_pins=>undef);
$hide_text = _('Show pins');