Skip to content

Commit

Permalink
Merge pull request #19 from ewhanson/i18_callback
Browse files Browse the repository at this point in the history
#18 Plugin callback is triggered every time submis…
  • Loading branch information
asmecher authored Jan 27, 2022
2 parents 6b98755 + 1f2170d commit 5ff04fa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion PlagiarismPlugin.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public function register($category, $path, $mainContextId = null) {
$this->addLocaleData();

if ($success && Config::getVar('ithenticate', 'ithenticate') && $this->getEnabled()) {
HookRegistry::register('submissionsubmitstep4form::display', array($this, 'callback'));
HookRegistry::register('submissionsubmitstep4form::execute', array($this, 'callback'));
}
return $success;
}
Expand Down
4 changes: 2 additions & 2 deletions version.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
<version>
<application>plagiarism</application>
<type>plugins.generic</type>
<release>1.0.4.0</release>
<date>2021-01-28</date>
<release>1.0.5.0</release>
<date>2022-01-26</date>
<lazy-load>1</lazy-load>
<class>PlagiarismPlugin</class>
</version>

0 comments on commit 5ff04fa

Please sign in to comment.