-
FAQ
- Forum Search
- Community
- Online Manual
- Support Helpers of the Month
- Function Database
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:- Help | Terms and Rules | Go Up ▲
- Copyright © 2022 Simple Machines. All Rights Reserved.
- Page created in 0.019 seconds with 13 queries.
- Forum Search