Elgg  Version 2.3
Namespaces | Variables
makeadmin.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(($user instanceof ElggUser) &&($user->canEdit())) else
 

Variable Documentation

◆ $guid

$guid = get_input('guid')

Definition at line 14 of file makeadmin.php.

◆ $user

$user = get_entity($guid)

Definition at line 15 of file makeadmin.php.

◆ else

if (( $user instanceof ElggUser) &&( $user->canEdit())) else
Initial value:
{
register_error(elgg_echo('admin:user:makeadmin:no'))
register_error($error)
Display an error on next page load.
Definition: elgglib.php:464
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
Definition: languages.php:21

Definition at line 23 of file makeadmin.php.