Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
our_own_cloud_project
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
die_coolen_jungs
our_own_cloud_project
Commits
5d296aa6
Commit
5d296aa6
authored
10 years ago
by
Morris Jobke
Browse files
Options
Downloads
Plain Diff
Merge pull request #12969 from owncloud/clarify-docs
Clarify return values
parents
eab4c029
dbbf5681
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
lib/private/user/session.php
+2
-2
2 additions, 2 deletions
lib/private/user/session.php
lib/public/iusersession.php
+2
-2
2 additions, 2 deletions
lib/public/iusersession.php
with
4 additions
and
4 deletions
lib/private/user/session.php
+
2
−
2
View file @
5d296aa6
...
...
@@ -121,7 +121,7 @@ class Session implements IUserSession, Emitter {
/**
* get the current active user
*
* @return \OC
\
User
\User
* @return \OC
P\I
User
|null Current user, otherwise null
*/
public
function
getUser
()
{
// FIXME: This is a quick'n dirty work-around for the incognito mode as
...
...
@@ -143,7 +143,7 @@ class Session implements IUserSession, Emitter {
}
/**
* Checks wether the user is logged in
* Checks w
h
ether the user is logged in
*
* @return bool if logged in
*/
...
...
This diff is collapsed.
Click to expand it.
lib/public/iusersession.php
+
2
−
2
View file @
5d296aa6
...
...
@@ -61,12 +61,12 @@ interface IUserSession {
/**
* get the current active user
*
* @return \OCP\IUser
* @return \OCP\IUser
|null Current user, otherwise null
*/
public
function
getUser
();
/**
* Checks wether the user is logged in
* Checks w
h
ether the user is logged in
*
* @return bool if logged in
*/
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment