aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@balti.ukcod.org.uk>2010-08-02 12:41:36 +0100
committerMatthew Somerville <matthew@balti.ukcod.org.uk>2010-08-02 12:41:36 +0100
commitfeb2d9f8e975565a6c3e69c74e46e70572045144 (patch)
tree478c65ec83ebb085b0baec2dabbb0ee387d2740d
parente0d3c55f8900b46e060dc3fbc68c51fa69e36bba (diff)
Old code left in by mistake.
-rwxr-xr-xweb/rss.cgi5
1 files changed, 0 insertions, 5 deletions
diff --git a/web/rss.cgi b/web/rss.cgi
index 81daa89ce..7648437f4 100755
--- a/web/rss.cgi
+++ b/web/rss.cgi
@@ -84,11 +84,6 @@ sub rss_local_problems {
} elsif ($e && $n) {
$x = int(Page::os_to_tile($e));
$y = int(Page::os_to_tile($n));
- print $q->redirect(-location => "$base/rss/$x/$y");
- return '';
- } elsif ($x && $y) {
- $e = Page::tile_to_os($x);
- $n = Page::tile_to_os($y);
($lat, $lon) = mySociety::GeoUtil::national_grid_to_wgs84($e, $n, 'G');
} elsif ($pc) {
my $error;