forked from GNUsocial/gnu-social
pkeyGet() method for Forward and return value from saveNew()
This commit is contained in:
parent
c899e4a84e
commit
7dd0f2fa9c
@ -43,6 +43,11 @@ class Forward extends Memcached_DataObject
|
||||
/* the code above is auto generated do not remove the tag below */
|
||||
###END_AUTOCODE
|
||||
|
||||
function &pkeyGet($kv)
|
||||
{
|
||||
return Memcached_DataObject::pkeyGet('Forward', $kv);
|
||||
}
|
||||
|
||||
static function saveNew($profile_id, $notice_id)
|
||||
{
|
||||
$forward = new Forward();
|
||||
@ -62,6 +67,8 @@ class Forward extends Memcached_DataObject
|
||||
$forward->query('COMMIT');
|
||||
|
||||
$forward->blowCache($ni);
|
||||
|
||||
return $forward;
|
||||
}
|
||||
|
||||
function addToInboxes()
|
||||
|
Loading…
Reference in New Issue
Block a user