validateUserName

Description

Checks a username to make sure it's valid

Syntax

void validateUserName (string $name, int $memID)



Parameter $name

Expected type: String
Description: The name to check



Parameter $memID

Expected type: Integer
Description: The ID of the current user (used for isReservedName)


Notes

  • Pretty much does the same thing as RegisterCheckUsername in Register.php, except it doesn't return anything
Advertisement: