deleteAccount

Description

Loads up minimal information for the "Delete Account" page in the profile.

Syntax

void deleteAccount (int $memID)



Parameter $memID

Expected type: Integer
Description: The ID of the member who owns this profile


Notes

  • Determines whether or not you're even allowed to delete this account
  • Sets the page title and a couple of other context variables for the template
  • Requires the "profile_remove_own" or "profile_remove_any" permission
  • Accessed at ?action=profile;sa=deleteAccount or ?action=profile;u={user_id};sa=deleteAccount
  • With the right settings, it's possible to make this the only section of the profile a user can access...
Advertisement: