diff options
-rwxr-xr-x | web/alert.cgi | 3 | ||||
-rwxr-xr-x | web/contact.cgi | 3 | ||||
-rwxr-xr-x | web/photo.cgi | 3 | ||||
-rwxr-xr-x | web/report.cgi | 3 | ||||
-rwxr-xr-x | web/rss.cgi | 3 |
5 files changed, 10 insertions, 5 deletions
diff --git a/web/alert.cgi b/web/alert.cgi index a4f7145b8..47d576c3a 100755 --- a/web/alert.cgi +++ b/web/alert.cgi @@ -6,7 +6,7 @@ # Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved. # Email: matthew@mysociety.org. WWW: http://www.mysociety.org # -# $Id: alert.cgi,v 1.4 2007-05-01 16:24:40 matthew Exp $ +# $Id: alert.cgi,v 1.5 2007-05-09 11:18:36 matthew Exp $ use strict; require 5.8.0; @@ -100,6 +100,7 @@ EOF print Page::header($q, _('Confirmation')); print $out; print Page::footer(); + dbh()->rollback(); } Page::do_fastcgi(\&main); diff --git a/web/contact.cgi b/web/contact.cgi index 6857fb0e5..14adc4a22 100755 --- a/web/contact.cgi +++ b/web/contact.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: contact.cgi,v 1.15 2007-04-27 19:37:29 matthew Exp $ +# $Id: contact.cgi,v 1.16 2007-05-09 11:18:36 matthew Exp $ use strict; require 5.8.0; @@ -38,6 +38,7 @@ sub main { } print $out; print Page::footer(); + dbh()->rollback(); } Page::do_fastcgi(\&main); diff --git a/web/photo.cgi b/web/photo.cgi index e011d8037..71542b169 100755 --- a/web/photo.cgi +++ b/web/photo.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: photo.cgi,v 1.2 2007-03-26 12:12:46 matthew Exp $ +# $Id: photo.cgi,v 1.3 2007-05-09 11:18:36 matthew Exp $ use strict; require 5.8.0; @@ -44,6 +44,7 @@ sub main { return unless $problem; my $photo = $problem->[0]; print $photo; + dbh()->rollback(); } Page::do_fastcgi(\&main); diff --git a/web/report.cgi b/web/report.cgi index 0f179f848..c051654d0 100755 --- a/web/report.cgi +++ b/web/report.cgi @@ -6,7 +6,7 @@ # Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved. # Email: matthew@mysociety.org. WWW: http://www.mysociety.org # -# $Id: report.cgi,v 1.9 2007-05-02 10:31:42 matthew Exp $ +# $Id: report.cgi,v 1.10 2007-05-09 11:18:36 matthew Exp $ use strict; require 5.8.0; @@ -80,6 +80,7 @@ sub main { list_problems('Fixed', $out{$_}{fixed}, $all) if $out{$_}{fixed}; } print Page::footer(); + dbh()->rollback(); } Page::do_fastcgi(\&main); diff --git a/web/rss.cgi b/web/rss.cgi index 6c25b56fa..a35f70f50 100755 --- a/web/rss.cgi +++ b/web/rss.cgi @@ -6,7 +6,7 @@ # Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved. # Email: matthew@mysociety.org. WWW: http://www.mysociety.org # -# $Id: rss.cgi,v 1.3 2007-01-26 22:48:31 matthew Exp $ +# $Id: rss.cgi,v 1.4 2007-05-09 11:18:36 matthew Exp $ use strict; require 5.8.0; @@ -53,6 +53,7 @@ sub main { } else { throw Error::Simple('Unknown alert type') unless $type; } + dbh()->rollback(); } Page::do_fastcgi(\&main); |