Skip to content

Commit

Permalink
Merge branch 'release-7.7.3' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
wazelin committed Oct 9, 2020
2 parents 8667038 + 9296a43 commit 06c27e3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions actions/TestTaker.php
Original file line number Diff line number Diff line change
Expand Up @@ -181,10 +181,6 @@ public function editSubject()
$data = ['hashForKey' => UserHashForEncryption::hash($plainPassword)];
}

$this->getEventManager()->trigger(
new TestTakerUpdatedEvent($subjectUri, array_merge($values, $data))
);

if ($addMode) {
// force default subject roles to be the Delivery Role:
$this->getClassService()->setTestTakerRole($subject);
Expand All @@ -197,6 +193,10 @@ public function editSubject()
GenerisRdf::PROPERTY_USER_DEFLG => $lang->getUri()
]);

$this->getEventManager()->trigger(
new TestTakerUpdatedEvent($subjectUri, array_merge($values, $data))
);

$message = __('Test taker saved');

if ($addMode) {
Expand Down
2 changes: 1 addition & 1 deletion manifest.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
'label' => 'Test-taker core extension',
'description' => 'TAO TestTaker extension',
'license' => 'GPL-2.0',
'version' => '7.7.2',
'version' => '7.7.3',
'author' => 'Open Assessment Technologies, CRP Henri Tudor',
'requires' => [
'generis' => '>=12.15.0',
Expand Down
2 changes: 1 addition & 1 deletion views/js/loader/taoTestTaker.min.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 06c27e3

Please sign in to comment.