Elgg  Version 2.3
Namespaces | Variables
removeadmin.php File Reference

Go to the source code of this file.

Namespaces

 Elgg\Core
 Activate a plugin or plugins.
 

Variables

 $guid = get_input('guid')
 
 $user = get_entity($guid)
 
if($guid==elgg_get_logged_in_user_guid()) if(($user instanceof ElggUser)&&($user->canEdit())) else
 

Variable Documentation

$guid = get_input('guid')

Definition at line 9 of file removeadmin.php.

$user = get_entity($guid)

Definition at line 10 of file removeadmin.php.

if ($guid==elgg_get_logged_in_user_guid()) if (($user instanceof ElggUser)&&($user->canEdit())) else
Initial value:
{
register_error(elgg_echo('admin:user:removeadmin:no'))
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
Definition: languages.php:21
elgg register_error
Wrapper function for system_messages.
Definition: elgglib.js:399

Definition at line 23 of file removeadmin.php.