Test implementations

This commit is contained in:
Dennis Eichhorn 2018-09-19 17:41:04 +02:00
parent 376aae7f88
commit 8607503e50

View File

@ -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();
}