diff --git a/core/modules/user/user.module b/core/modules/user/user.module index 89706c4..1e7aa99 100644 --- a/core/modules/user/user.module +++ b/core/modules/user/user.module @@ -542,7 +542,12 @@ function user_access($string, $account = NULL) { /** * Checks for usernames blocked by user administration. * - * @return boolean TRUE for blocked users, FALSE for active. + * @param $name + * A string containing a name of the user. + * + * @return + * Object with property 'name' (the user name), if the user is blocked; + * FALSE if the user is not blocked. */ function user_is_blocked($name) { return db_select('users')