summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
Diffstat (limited to 'classes')
-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);
+ }
}