NEW Can enable/disable users in bulk actions

This commit is contained in:
Laurent Destailleur
2020-10-01 16:21:07 +02:00
parent 298e94e574
commit b258a848e2
4 changed files with 249 additions and 69 deletions

View File

@@ -117,6 +117,7 @@ $hookmanager->initHooks(array('usercard', 'globalcard'));
/**
* Actions
*/
$parameters = array('id' => $id, 'socid' => $socid, 'group' => $group, 'caneditgroup' => $caneditgroup);
$reshook = $hookmanager->executeHooks('doActions', $parameters, $object, $action); // Note that $action and $object may have been modified by some hooks
if ($reshook < 0) setEventMessages($hookmanager->error, $hookmanager->errors, 'errors');