diff options
author | Evan Prodromou <evan@status.net> | 2010-01-12 23:41:33 -0800 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2010-01-12 23:41:33 -0800 |
commit | fb0d837ddc572993f8c6d1db3de2c96d70101841 (patch) | |
tree | 100587e1915e816b86822767e1d00fe9a50e0a40 | |
parent | 46b11070fe2f31561b89d933e15582fa2389e842 (diff) |
remove transaction for Notice save; causes deadlocks
-rw-r--r-- | classes/Notice.php | 4 |
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)); } |