projects
/
quix0rs-gnu-social.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f6ccee
)
encache on insert instead of decaching
author
Evan Prodromou
<evan@status.net>
Wed, 6 Jan 2010 05:48:43 +0000
(19:48 -1000)
committer
Evan Prodromou
<evan@status.net>
Wed, 6 Jan 2010 05:48:43 +0000
(19:48 -1000)
classes/Memcached_DataObject.php
patch
|
blob
|
history
diff --git
a/classes/Memcached_DataObject.php
b/classes/Memcached_DataObject.php
index c31b2a54680756ed0bc4d09dac7186e3224376c6..d11bd636823a18c8c4b598353ba57cc0316df890 100644
(file)
--- a/
classes/Memcached_DataObject.php
+++ b/
classes/Memcached_DataObject.php
@@
-142,8
+142,8
@@
class Memcached_DataObject extends DB_DataObject
function insert()
{
- $this->decache(); // in case of cached negative lookups
$result = parent::insert();
+ $this->encache(); // in case of cached negative lookups
return $result;
}