forked from GNUsocial/gnu-social
staticGet -> pkeyGet in Twitter_synch_status
This commit is contained in:
parent
d37f0da077
commit
b6440a206d
@ -144,7 +144,7 @@ class Twitter_synch_status extends Memcached_DataObject
|
||||
|
||||
static function getLastId($foreign_id, $timeline)
|
||||
{
|
||||
$tss = self::staticGet(array('foreign_id' => $foreign_id,
|
||||
$tss = self::pkeyGet(array('foreign_id' => $foreign_id,
|
||||
'timeline' => $timeline));
|
||||
|
||||
if (empty($tss)) {
|
||||
@ -156,7 +156,7 @@ class Twitter_synch_status extends Memcached_DataObject
|
||||
|
||||
static function setLastId($foreign_id, $timeline, $last_id)
|
||||
{
|
||||
$tss = self::staticGet(array('foreign_id' => $foreign_id,
|
||||
$tss = self::pkeyGet(array('foreign_id' => $foreign_id,
|
||||
'timeline' => $timeline));
|
||||
|
||||
if (empty($tss)) {
|
||||
|
Loading…
Reference in New Issue
Block a user