Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
t3o
my.typo3.org
Commits
c1aad1f7
Commit
c1aad1f7
authored
Nov 05, 2018
by
mabolek
Committed by
Thomas Löffler
Feb 11, 2019
Browse files
[FIX] Mixup between immutable and mutable in function calls and variables
parent
4b30c6fd
Changes
1
Hide whitespace changes
Inline
Side-by-side
extensions/karma/Classes/Service/KarmaService.php
View file @
c1aad1f7
...
...
@@ -83,11 +83,7 @@ class KarmaService implements \TYPO3\CMS\Core\SingletonInterface
$mutableKarma
=
$this
->
getMutableKarmaForUser
(
$frontendUser
,
true
,
false
);
$frontendUser
->
setKarmaImmutableValueCache
(
$immutableKarma
);
<<<<<<<
HEAD
:
extensions
/
karma
/
Classes
/
Service
/
KarmaService
.
php
$frontendUser
->
setKarmaMutableValueCache
(
$mutableKarma
);
=======
$frontendUser
->
setKarmaImmutableValueCache
(
$immutableKarma
);
>>>>>>>
[
TASK
]
It
is
possible
to
add
karma
to
a
user
and
cache
it
:
html
/
typo3conf
/
ext
/
karma
/
Classes
/
Service
/
KarmaService
.
php
$frontendUser
->
setKarmaCacheTimestamp
(
time
());
$this
->
frontendUserRepository
->
update
(
$frontendUser
);
...
...
@@ -118,11 +114,7 @@ class KarmaService implements \TYPO3\CMS\Core\SingletonInterface
$immutableKarma
=
$this
->
getImmutableKarmaForUser
(
$frontendUser
,
true
,
false
);
$frontendUser
->
setKarmaMutableValueCache
(
$mutableKarma
);
<<<<<<<
HEAD
:
extensions
/
karma
/
Classes
/
Service
/
KarmaService
.
php
$frontendUser
->
setKarmaImmutableValueCache
(
$immutableKarma
);
=======
$frontendUser
->
setKarmaMutableValueCache
(
$mutableKarma
);
>>>>>>>
[
TASK
]
It
is
possible
to
add
karma
to
a
user
and
cache
it
:
html
/
typo3conf
/
ext
/
karma
/
Classes
/
Service
/
KarmaService
.
php
$frontendUser
->
setKarmaCacheTimestamp
(
time
());
$this
->
frontendUserRepository
->
update
(
$frontendUser
);
...
...
Write
Preview
Supports
Markdown
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