diff --git a/plugins/TwitterBridge/Twitter_synch_status.php b/plugins/TwitterBridge/Twitter_synch_status.php index 1b3ad48fea..2be3f81400 100644 --- a/plugins/TwitterBridge/Twitter_synch_status.php +++ b/plugins/TwitterBridge/Twitter_synch_status.php @@ -144,8 +144,8 @@ class Twitter_synch_status extends Memcached_DataObject static function getLastId($foreign_id, $timeline) { - $tss = self::staticGet(array('foreign_id' => $foreign_id, - 'timeline' => $timeline)); + $tss = self::pkeyGet(array('foreign_id' => $foreign_id, + 'timeline' => $timeline)); if (empty($tss)) { return null; @@ -156,8 +156,8 @@ class Twitter_synch_status extends Memcached_DataObject static function setLastId($foreign_id, $timeline, $last_id) { - $tss = self::staticGet(array('foreign_id' => $foreign_id, - 'timeline' => $timeline)); + $tss = self::pkeyGet(array('foreign_id' => $foreign_id, + 'timeline' => $timeline)); if (empty($tss)) {