summaryrefslogtreecommitdiff
path: root/classes/Foreign_link.php
diff options
context:
space:
mode:
authorZach Copley <zach@controlyourself.ca>2008-12-05 22:01:32 -0500
committerZach Copley <zach@controlyourself.ca>2008-12-05 22:01:32 -0500
commitdccf8374cf7e4673cbc83f695e1665031bdf6539 (patch)
tree72969db82213d3cc38d46553e1863441016479d0 /classes/Foreign_link.php
parent92ea88fd6030b3def92e100291102187be032490 (diff)
trac750 - Exoskeleton of a nascent Facebook app
darcs-hash:20081206030132-7b5ce-96c38ab67edd3d58f8722ef25852a6143f05a86b.gz
Diffstat (limited to 'classes/Foreign_link.php')
-rw-r--r--classes/Foreign_link.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/classes/Foreign_link.php b/classes/Foreign_link.php
index 58c89b4e6..7a625a209 100644
--- a/classes/Foreign_link.php
+++ b/classes/Foreign_link.php
@@ -54,7 +54,7 @@ class Foreign_link extends Memcached_DataObject
return NULL;
}
- // Convenience method
+ # Convenience methods
function getForeignUser() {
$fuser = new Foreign_user();
$fuser->service = $this->service;
@@ -68,5 +68,9 @@ class Foreign_link extends Memcached_DataObject
return NULL;
}
+
+ function getUser() {
+ return User::staticGet($this->user_id);
+ }
}