mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-16 14:33:14 +00:00
user webhook: registration and delete
This commit is contained in:
@@ -515,9 +515,9 @@ class UserController extends Controller
|
||||
$denyColl[] = $label;
|
||||
$hookData['rejected'][$bas] = $label;
|
||||
}
|
||||
}
|
||||
|
||||
$this->app['manipulator.webhook-event']->create($hookName, $hookType, $hookData);
|
||||
$this->app['manipulator.webhook-event']->create($hookName, $hookType, $hookData, [$bas]);
|
||||
}
|
||||
|
||||
if ($user->hasMailNotificationsActivated() && (0 !== count($acceptColl) || 0 !== count($denyColl))) {
|
||||
$message = '';
|
||||
|
Reference in New Issue
Block a user