aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xweb/index.cgi4
1 files changed, 1 insertions, 3 deletions
diff --git a/web/index.cgi b/web/index.cgi
index 0201dd908..3ad592cfa 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.259 2009-07-10 17:24:50 matthew Exp $
+# $Id: index.cgi,v 1.260 2009-07-17 15:03:02 matthew Exp $
use strict;
use Standard;
@@ -244,7 +244,6 @@ sub submit_update {
$h{update} = $input{update};
$h{name} = $input{name} ? $input{name} : _("Anonymous");
my $base = mySociety::Config::get('BASE_URL');
- $base =~ s/matthew/emptyhomes.matthew/ if $q->{site} eq 'emptyhomes'; # XXX Temp
$base =~ s/matthew/scambs.matthew/ if $q->{site} eq 'scambs'; # XXX Temp
$h{url} = $base . '/C/' . mySociety::AuthToken::store('update', { id => $id, add_alert => $input{add_alert} } );
dbh()->commit();
@@ -403,7 +402,6 @@ Please <a href="/contact">let us know what went on</a> and we\'ll look into it.'
$h{detail} = $input{detail};
$h{name} = $input{name};
my $base = mySociety::Config::get('BASE_URL');
- $base =~ s/matthew/emptyhomes.matthew/ if $q->{site} eq 'emptyhomes'; # XXX Temp
$base =~ s/matthew/scambs.matthew/ if $q->{site} eq 'scambs'; # XXX Temp
$h{url} = $base . '/P/' . mySociety::AuthToken::store('problem', $id);
dbh()->commit();