Skip to content

Commit

Permalink
Merge pull request #16 from jonasraoni/bugfix/master/15-fix-folder-cr…
Browse files Browse the repository at this point in the history
…eation

#15 Fixed folder creation.
  • Loading branch information
asmecher authored Dec 13, 2021
2 parents b1a675b + 09fdf6d commit 68926b8
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 18 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/vendor
3 changes: 2 additions & 1 deletion PlagiarismPlugin.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ public function callback($hookName, $args) {
'Submission_' . $submission->getId(),
'Submission_' . $submission->getId() . ': ' . $publication->getLocalizedTitle($publication->getData('locale')),
$groupId,
1
true,
true
))) {
error_log('Could not create folder for submission ID ' . $submission->getId() . ' on iThenticate.');
return false;
Expand Down
8 changes: 1 addition & 7 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
{
"repositories": [
{
"type": "vcs",
"url": "https://github.com/asmecher/ithenticate"
}
],
"require": {
"bsobbe/ithenticate": "dev-add_folder_group_ops"
"bsobbe/ithenticate": "dev-master#8440a85"
}
}
28 changes: 18 additions & 10 deletions composer.lock

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

0 comments on commit 68926b8

Please sign in to comment.