mirror of
https://github.com/Karaka-Management/oms-Profile.git
synced 2026-02-07 19:38:41 +00:00
Test implementations
This commit is contained in:
parent
376aae7f88
commit
8607503e50
|
|
@ -233,7 +233,10 @@ final class Controller extends ModuleAbstract implements WebInterface
|
|||
$created = [];
|
||||
|
||||
foreach ($profiles as $profile) {
|
||||
$this->app->eventManager->trigger('PRE:Module:Admin-profile-create', '', $profile);
|
||||
ProfileMapper::create($profile);
|
||||
$this->app->eventManager->trigger('POST:Module:Admin-profile-create', '', $profile);
|
||||
|
||||
$created[] = $profile->jsonSerialize();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user