remove transaction for Notice save; causes deadlocks
This commit is contained in:
parent
46b11070fe
commit
fb0d837ddc
@ -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));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user