The Red Matrix
 All Classes Namespaces Files Functions Variables Pages
account.php File Reference

Functions

 check_account_email ($email)
 
 check_account_password ($password)
 
 check_account_invite ($invite_code)
 
 check_account_admin ($arr)
 
 account_total ()
 
 create_account ($arr)
 
 send_reg_approval_email ($arr)
 
 send_verification_email ($email, $password)
 
 user_allow ($hash)
 
 user_deny ($hash)
 
 downgrade_accounts ()
 

Function Documentation

account_total ( )

Referenced by create_account(), and zfinger_init().

check_account_admin (   $arr)

Referenced by create_account().

check_account_email (   $email)

Referenced by create_account(), and register_init().

check_account_invite (   $invite_code)

Referenced by create_account(), and register_init().

check_account_password (   $password)

Referenced by create_account(), and register_init().

create_account (   $arr)

Referenced by register_post().

downgrade_accounts ( )

downgrade_accounts() Checks for accounts that have past their expiration date. If the account has a service class which is not the site default, the service class is reset to the site default and expiration reset to never. If the account has no service class it is expired and subsequently disabled. called from include/poller.php as a scheduled task.

Reclaiming resources which are no longer within the service class limits is not the job of this function, but this can be implemented by plugin if desired. Default behaviour is to stop allowing additional resources to be consumed.

Referenced by poller_run().

send_reg_approval_email (   $arr)

Referenced by register_post().

send_verification_email (   $email,
  $password 
)

Referenced by register_post().

user_allow (   $hash)
user_deny (   $hash)