25     if (
$user->delete()) {
 
   36 if (strpos($_SERVER[
'HTTP_REFERER'], 
$username) != FALSE) {
 
if($guid==elgg_get_logged_in_user_guid()) $name
 
register_error($error)
Display an error on next page load.
 
system_message($message)
Display a system message on next page load.
 
forward($location="", $reason='system')
Forward to $location.
 
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
 
get_entity($guid)
Loads and returns an entity object from a guid.
 
elgg_get_logged_in_user_guid()
Return the current logged in user by guid.