Clean code

This commit is contained in:
Laurent Destailleur
2017-10-28 16:00:07 +02:00
parent 9e382a7f1b
commit 00db7e16ec
4 changed files with 8 additions and 3 deletions

View File

@@ -163,7 +163,8 @@ class User extends CommonObject
}
/**
* Load a user from database with its id or ref (login)
* Load a user from database with its id or ref (login).
* This function does not load permissions, only user properties. Use getrights() for this just after the fetch.
*
* @param int $id If defined, id to used for search
* @param string $login If defined, login to used for search