From: Evan Prodromou Date: Wed, 13 Jan 2010 07:41:33 +0000 (-0800) Subject: remove transaction for Notice save; causes deadlocks X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=fb0d837ddc572993f8c6d1db3de2c96d70101841;p=quix0rs-gnu-social.git remove transaction for Notice save; causes deadlocks --- diff --git a/classes/Notice.php b/classes/Notice.php index 6284b8ca51..3069564227 100644 --- a/classes/Notice.php +++ b/classes/Notice.php @@ -299,8 +299,6 @@ class Notice extends Memcached_DataObject // XXX: some of these functions write to the DB - $notice->query('BEGIN'); - $id = $notice->insert(); if (!$id) { @@ -342,8 +340,6 @@ class Notice extends Memcached_DataObject $notice->saveUrls(); - $notice->query('COMMIT'); - Event::handle('EndNoticeSave', array($notice)); }