Elgg  Version 2.2
 All Classes Namespaces Files Functions Variables Pages
Variables
delete.php File Reference

Go to the source code of this file.

Variables

 $id = get_input('id')
 Elgg profile plugin edit default profile action removal. More...
 
 $fieldlist = elgg_get_config('profile_custom_fields')
 
if($id &&unset_config("admin_defined_profile_$id")&&unset_config("admin_defined_profile_type_$id")&&elgg_save_config('profile_custom_fields',
$fieldlist)) 
else
 

Variable Documentation

$fieldlist = elgg_get_config('profile_custom_fields')

Definition at line 9 of file delete.php.

$id = get_input('id')

Elgg profile plugin edit default profile action removal.

Definition at line 7 of file delete.php.

if ($id &&unset_config("admin_defined_profile_$id")&&unset_config("admin_defined_profile_type_$id")&&elgg_save_config('profile_custom_fields', $fieldlist)) else
Initial value:
{
register_error(elgg_echo('profile:editdefault:delete:fail'))
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
Definition: languages.php:21
register_error($error)
Display an error on next page load.
Definition: elgglib.php:452

Definition at line 24 of file delete.php.