summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-01-12 23:41:33 -0800
committerEvan Prodromou <evan@status.net>2010-01-12 23:41:33 -0800
commitfb0d837ddc572993f8c6d1db3de2c96d70101841 (patch)
tree100587e1915e816b86822767e1d00fe9a50e0a40 /classes
parent46b11070fe2f31561b89d933e15582fa2389e842 (diff)
remove transaction for Notice save; causes deadlocks
Diffstat (limited to 'classes')
-rw-r--r--classes/Notice.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/classes/Notice.php b/classes/Notice.php
index 6284b8ca5..306956422 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));
}