diff --git a/core/modules/user/user.module b/core/modules/user/user.module index 89706c4..0fba7ac 100644 --- a/core/modules/user/user.module +++ b/core/modules/user/user.module @@ -541,8 +541,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 + * stdClass with the name field of a blocked user, FALSE for active user. */ function user_is_blocked($name) { return db_select('users')