mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-30 13:21:30 +01:00
NEW Can enable/disable users in bulk actions
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user