mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-15 22:11:36 +01:00
Clean code
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user