]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
staticGet -> pkeyGet in Twitter_synch_status
authorEvan Prodromou <evan@status.net>
Tue, 7 Sep 2010 19:29:36 +0000 (15:29 -0400)
committerEvan Prodromou <evan@status.net>
Tue, 7 Sep 2010 19:29:36 +0000 (15:29 -0400)
plugins/TwitterBridge/Twitter_synch_status.php

index 1b3ad48fea473d1df68b8a4e9e63a037eed6eac3..2be3f814004e2ed7d8bce892441c5bf3e8db745e 100644 (file)
@@ -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)) {