summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2009-12-08 17:20:04 -0500
committerEvan Prodromou <evan@status.net>2009-12-08 17:20:04 -0500
commit7dd0f2fa9c8e9332c5ff481c93b53169c2510ff7 (patch)
tree25b3f069cb8d455cad3560253f10dc1243e189bd /classes
parentc899e4a84ee45b65950980ccb87e52129871d58e (diff)
pkeyGet() method for Forward and return value from saveNew()
Diffstat (limited to 'classes')
-rw-r--r--classes/Forward.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/classes/Forward.php b/classes/Forward.php
index 6d4848438..52ec53871 100644
--- a/classes/Forward.php
+++ b/classes/Forward.php
@@ -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()