Function Hook_cns_warnings_ban_ip->undo_punitive_action
Definitions
sources/hooks/systems/cns_warnings/ban_ip.php
- Actualiser to undo a certain type of punitive action.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $punitive_action | array | No | No | required parameter | N/A | N/A | The database row for the punitive action being undone |
| $warning | array | No | No | required parameter | N/A | N/A | The database row for the warning associated with the punitive action being undone |
Preview
Code (PHP)
/**
* Actualiser to undo a certain type of punitive action.
*
* @param array $punitive_action The database row for the punitive action being undone
* @param array $warning The database row for the warning associated with the punitive action being undone
*/
public function undo_punitive_action(array $punitive_action, array $warning)
* Actualiser to undo a certain type of punitive action.
*
* @param array $punitive_action The database row for the punitive action being undone
* @param array $warning The database row for the warning associated with the punitive action being undone
*/
public function undo_punitive_action(array $punitive_action, array $warning)

