docblock fix
This commit is contained in:
parent
883bf951c7
commit
26052021a2
@ -718,7 +718,17 @@ class SemanticScuttle_Service_User extends SemanticScuttle_DbService
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function isReserved($username) {
|
/**
|
||||||
|
* Checks if the given user name is one of the reserved ones
|
||||||
|
*
|
||||||
|
* @param string $username Username to check
|
||||||
|
*
|
||||||
|
* @return boolean True when it is reserved
|
||||||
|
*
|
||||||
|
* @uses $GLOBALS['reservedusers']
|
||||||
|
*/
|
||||||
|
public function isReserved($username)
|
||||||
|
{
|
||||||
if (in_array($username, $GLOBALS['reservedusers'])) {
|
if (in_array($username, $GLOBALS['reservedusers'])) {
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user