forked from GNUsocial/gnu-social
updateWithKeys did not always COMMIT transactions
This commit is contained in:
parent
305ef6ad85
commit
59bbc81c4b
@ -353,6 +353,9 @@ abstract class Managed_DataObject extends Memcached_DataObject
|
||||
}
|
||||
$orig->decache();
|
||||
$this->encache();
|
||||
|
||||
// commit our db transaction since we won't reach the COMMIT below
|
||||
$this->query('COMMIT');
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user