Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Maarch
maarchRM
Commits
73cb686b
Verified
Commit
73cb686b
authored
Feb 25, 2020
by
Cyril Vazquez
Browse files
remove bug with exception presenter (use of trait is good enough)
parent
534e4dab
Pipeline
#6999
canceled with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/presentation/maarchRM/Presenter/digitalResource/conversionRule.php
View file @
73cb686b
...
...
@@ -163,19 +163,4 @@ class conversionRule
return
$this
->
json
->
save
();
}
/**
* Cluster exception
* @param digitalResource/Exception/conversionRuleException $conversionRuleException
*
* @return string
*/
public
function
conversionRuleException
(
$conversionRuleException
)
{
$this
->
json
->
message
=
$conversionRuleException
->
getMessage
();
$this
->
json
->
message
=
$this
->
translator
->
getText
(
$this
->
json
->
message
);
$this
->
json
->
status
=
false
;
return
$this
->
json
->
save
();
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment