Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
t3o
my.typo3.org
Commits
23e6de07
Commit
23e6de07
authored
Feb 12, 2019
by
mabolek
Committed by
Sebastian Kotte
Feb 12, 2019
Browse files
[CLEANUP] CI-related fixes
parent
4288394f
Changes
1
Hide whitespace changes
Inline
Side-by-side
extensions/karma/Classes/Service/KarmaService.php
View file @
23e6de07
...
...
@@ -215,11 +215,11 @@ class KarmaService implements \TYPO3\CMS\Core\SingletonInterface
*/
public
function
triggerKarmaIssuerActionForUser
(
$issuerCode
,
$issuerActionCode
,
ExtbaseFrontendUser
$frontendUser
)
{
if
(
!
key_exists
(
$issuerCode
,
$this
->
settings
[
'issuers'
]))
{
if
(
!
array_
key_exists
(
$issuerCode
,
$this
->
settings
[
'issuers'
]))
{
throw
new
\
Exception
(
'Issuer code "'
.
$issuerCode
.
'" does not exist.'
,
1549968187
);
}
if
(
!
key_exists
(
$issuerActionCode
,
$this
->
settings
[
'issuers'
][
$issuerCode
]))
{
if
(
!
array_
key_exists
(
$issuerActionCode
,
$this
->
settings
[
'issuers'
][
$issuerCode
]))
{
throw
new
\
Exception
(
'Issuer action code "'
.
$issuerActionCode
.
'" does not exist.'
,
1549968249
);
}
...
...
@@ -230,7 +230,7 @@ class KarmaService implements \TYPO3\CMS\Core\SingletonInterface
throw
new
\
Exception
(
'Empty karma source code supplied. Please configure it in TypoScript.'
,
1541508560
);
}
if
(
!
key_exists
(
$karmaSourceCode
,
$this
->
settings
[
'sourceCodes'
]))
{
if
(
!
array_
key_exists
(
$karmaSourceCode
,
$this
->
settings
[
'sourceCodes'
]))
{
throw
new
\
Exception
(
'Karma source code "'
.
$karmaSourceCode
.
'" does not exist.'
,
1549968362
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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