Elgg  Version 6.1
Variables
deactivate.php File Reference

Go to the source code of this file.

Variables

 $plugin_guids = (array) get_input('plugin_guids')
 Deactivate a plugin or plugins. More...
 
 $deactivated_plugins = []
 
foreach($plugin_guids as $guid) if(empty($deactivated_plugins)) $url = null
 

Variable Documentation

$deactivated_plugins = []

Definition at line 13 of file deactivate.php.

$plugin_guids = (array) get_input('plugin_guids')

Deactivate a plugin or plugins.

Plugins to be deactivated are passed via $_REQUEST['plugin_guids'] as GUIDs. After deactivating the plugin(s), the views cache and simplecache are invalidated.

mixed $_GET['plugin_guids'] The GUIDs of the plugin to deactivate. Can be an array.

Definition at line 11 of file deactivate.php.

foreach ($plugin_guids as $guid) if (empty($deactivated_plugins)) $url = null