Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[FrameworkBundle] Update deprecated service call #12787

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 1, 2014

Conversation

lrlopez
Copy link
Contributor

@lrlopez lrlopez commented Nov 30, 2014

Q A
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets none, but related to #11593 and #11690
License MIT
Doc PR none

Service security.context is now deprecated due to PR #11690. This commit updates PR #11593 replacing security.context with security.authorization_checker in the isGranted() controller shortcut introduced in Symfony 2.6.

The service `security.context` is now deprecated due to PR symfony#11690.

This commit updates PR symfony#11593 replacing `security.context` with
`security.authorization_checker` in the `isGranted()` controller
shortcut.
@timglabisch
Copy link

👍

@fabpot
Copy link
Member

fabpot commented Dec 1, 2014

Thank you @lrlopez.

@fabpot fabpot merged commit 2625193 into symfony:2.6 Dec 1, 2014
fabpot added a commit that referenced this pull request Dec 1, 2014
This PR was merged into the 2.6 branch.

Discussion
----------

[FrameworkBundle] Update deprecated service call

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | none, but related to #11593 and #11690
| License       | MIT
| Doc PR        | none

Service `security.context` is now deprecated due to PR #11690. This commit updates PR #11593 replacing `security.context` with `security.authorization_checker` in the `isGranted()` controller shortcut introduced in Symfony 2.6.

Commits
-------

2625193 [FrameworkBundle] Update deprecated service call
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants