staticGet -> pkeyGet in Twitter_synch_status

This commit is contained in:
Evan Prodromou 2010-09-07 15:29:36 -04:00
parent d37f0da077
commit b6440a206d

View File

@ -144,7 +144,7 @@ class Twitter_synch_status extends Memcached_DataObject
static function getLastId($foreign_id, $timeline) static function getLastId($foreign_id, $timeline)
{ {
$tss = self::staticGet(array('foreign_id' => $foreign_id, $tss = self::pkeyGet(array('foreign_id' => $foreign_id,
'timeline' => $timeline)); 'timeline' => $timeline));
if (empty($tss)) { if (empty($tss)) {
@ -156,7 +156,7 @@ class Twitter_synch_status extends Memcached_DataObject
static function setLastId($foreign_id, $timeline, $last_id) 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)); 'timeline' => $timeline));
if (empty($tss)) { if (empty($tss)) {