[evolvis-commits] r17958: experimentally wrap the entire codendi crapcode into a db transaction
mirabilos at evolvis.org
mirabilos at evolvis.org
Mon Jan 9 10:41:51 CET 2012
Author: mirabilos
Date: 2012-01-09 10:41:51 +0100 (Mon, 09 Jan 2012)
New Revision: 17958
Modified:
branches/QA-2011Q4:evolvis-qs.lan.tarent.de/src/www/widgets/updatelayout.php
Log:
experimentally wrap the entire codendi crapcode into a db transaction
Modified: branches/QA-2011Q4:evolvis-qs.lan.tarent.de/src/www/widgets/updatelayout.php
===================================================================
--- branches/QA-2011Q4:evolvis-qs.lan.tarent.de/src/www/widgets/updatelayout.php 2012-01-09 09:41:44 UTC (rev 17957)
+++ branches/QA-2011Q4:evolvis-qs.lan.tarent.de/src/www/widgets/updatelayout.php 2012-01-09 09:41:51 UTC (rev 17958)
@@ -33,6 +33,7 @@
$owner = $request->get('owner');
if ($owner) {
+ db_begin();
$owner_id = (int)substr($owner, 1);
$owner_type = substr($owner, 0, 1);
switch($owner_type) {
@@ -111,6 +112,7 @@
}
}
}
+ db_commit();
}
if (!$request->isAjax()) {
htmlRedirect($redirect);
More information about the evolvis-commits
mailing list