Elgg
Version master
|
Go to the source code of this file.
Variables | |
$guid = (int) get_input('guid') | |
Delete a user. More... | |
if($guid===elgg_get_logged_in_user_guid()) | $user |
if(!$user||!$user->canDelete()) | $name = $user->getDisplayName() |
$username = $user->username | |
$deleted | |
if(!$deleted) | $forward = get_input('forward_url') |
if(empty($forward)) | else |
$deleted |
Definition at line 25 of file delete.php.
Definition at line 33 of file delete.php.
$guid = (int) get_input('guid') |
Delete a user.
The user will be deleted recursively, meaning all entities owned or contained by the user will also be removed.
Definition at line 10 of file delete.php.
Definition at line 22 of file delete.php.
if ($guid===elgg_get_logged_in_user_guid()) $user |
Definition at line 15 of file delete.php.
$username = $user->username |
Definition at line 23 of file delete.php.
if (empty($forward)) else |
Definition at line 40 of file delete.php.