forked from GNUsocial/gnu-social
staticGet -> pkeyGet in Twitter_synch_status
This commit is contained in:
parent
d37f0da077
commit
b6440a206d
@ -144,8 +144,8 @@ 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)) {
|
||||||
return null;
|
return null;
|
||||||
@ -156,8 +156,8 @@ 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)) {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user