Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Chill-project
Chill-Report
Commits
780d7514
Commit
780d7514
authored
Apr 09, 2018
by
Julien Minet
Browse files
fix deprecations: use security.token_storage instead of security.context
parent
1d10d89a
Pipeline
#46815
failed with stages
in 1 minute and 18 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Controller/ReportController.php
View file @
780d7514
...
...
@@ -258,7 +258,7 @@ class ReportController extends Controller
}
$entity
=
new
Report
();
$entity
->
setUser
(
$this
->
get
(
'security.
context
'
)
->
getToken
()
->
getUser
());
$entity
->
setUser
(
$this
->
get
(
'security.
token_storage
'
)
->
getToken
()
->
getUser
());
$entity
->
setDate
(
new
\
DateTime
(
'now'
));
$entity
->
setCFGroup
(
$cFGroup
);
...
...
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