Elgg  Version master
Variables
deactivate_all.php File Reference

Go to the source code of this file.

Variables

 $guids = get_input('guids')
 Disable all specified installed plugins. More...
 
if(empty($guids)) else
 
if(empty($plugins)) $errors = []
 

Variable Documentation

if (empty($plugins)) $errors = []

Definition at line 26 of file deactivate_all.php.

$guids = get_input('guids')

Disable all specified installed plugins.

Specified plugins in the mod/ directory are disabled and the views cache and simplecache are reset.

Definition at line 9 of file deactivate_all.php.

if (empty($guids)) else
Initial value:
{
$plugins = elgg_get_entities([
'type' => 'object',
'subtype' => 'plugin',
'guids' => explode(',', $guids),
'limit' => false,
])
elgg_get_entities(array $options=[])
Fetches/counts entities or performs a calculation on their properties.
Definition: entities.php:507
$guids
Disable all specified installed plugins.

Definition at line 13 of file deactivate_all.php.