Upgrades / downgrades the user's account. Currently it's just the field user_account_type in the database that
can be 1 or 2 (maybe "basic" or "premium"). Put some more complex stuff in here, maybe a pay-process or whatever
you like.
public static changeUserRole ( $type ) : boolean | ||
$type | ||
return | boolean |