X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Fuser%2FUserIdentity.php;h=d02a67888c41f9dca68cb28d9536c42dee40396f;hb=27c61fb1e94da9114314468fd00bcf129ec064b6;hp=57a0408d7cad4fdce7402f6d7e6d6e4098c929fd;hpb=38edb8ab30d21e67e69871582e34b5120cbcc33a;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/user/UserIdentity.php b/includes/user/UserIdentity.php index 57a0408d7c..d02a67888c 100644 --- a/includes/user/UserIdentity.php +++ b/includes/user/UserIdentity.php @@ -45,7 +45,13 @@ interface UserIdentity { */ public function getName(); - // TODO: in the future, we should also provide access to the actor ID here. + /** + * @since 1.31 + * + * @return int The user's actor ID. May be 0 if no actor ID is set. + */ + public function getActorId(); + // TODO: we may want to (optionally?) provide a global ID, see CentralIdLookup. }