Skip to content

Conversation

Enygma2002
Copy link
Member

  • Added api.Context.getUserReference()

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When no user is logged in null is returned not XWiki.XWikiGuest.

Don't copy/past getUser() javadoc too quickly ;)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Busted! :)

Fixed the javadoc. Thanks for catching that.

tmortagne added a commit that referenced this pull request Sep 14, 2011
XWIKI-6964: Expose XWikiContext.getUserReference() to the web API
Applied patch from Eduard Moraru without any modification
@tmortagne tmortagne merged commit 52e80d3 into xwiki:master Sep 14, 2011
manuelleduc pushed a commit that referenced this pull request Jul 8, 2022
tmortagne added a commit that referenced this pull request Oct 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants