dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
SECURITY: jquery.makeCollapsible: Escape user-generated CSS selectors
[lhc/web/wiklou.git]
/
includes
/
user
/
UserIdentity.php
diff --git
a/includes/user/UserIdentity.php
b/includes/user/UserIdentity.php
index
57a0408
..
d02a678
100644
(file)
--- a/
includes/user/UserIdentity.php
+++ b/
includes/user/UserIdentity.php
@@
-45,7
+45,13
@@
interface UserIdentity {
*/
public function getName();
*/
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.
}
// TODO: we may want to (optionally?) provide a global ID, see CentralIdLookup.
}