Fixed formatting.

This commit is contained in:
Drak 2012-02-02 17:21:28 +05:45
parent 398acc9e9f
commit f9951a39eb
1 changed files with 5 additions and 2 deletions

View File

@ -33,16 +33,19 @@ UPGRADE FROM 2.0 to 2.1
Retrieving the locale from a Twig template: Retrieving the locale from a Twig template:
Before: `{{ app.request.session.locale }}` or `{{ app.session.locale }}` Before: `{{ app.request.session.locale }}` or `{{ app.session.locale }}`
After: `{{ app.request.locale }}` After: `{{ app.request.locale }}`
Retrieving the locale from a PHP template: Retrieving the locale from a PHP template:
Before: `$view['session']->getLocale()` Before: `$view['session']->getLocale()`
After: `$view['request']->getLocale()` After: `$view['request']->getLocale()`
Retrieving the locale from PHP code: Retrieving the locale from PHP code:
Before: `$session->getLocale()` Before: `$session->getLocale()`
After: `$request->getLocale()` After: `$request->getLocale()`
* Method `equals` of `Symfony\Component\Security\Core\User\UserInterface` has * Method `equals` of `Symfony\Component\Security\Core\User\UserInterface` has
@ -138,7 +141,7 @@ UPGRADE FROM 2.0 to 2.1
* The strategy for generating the HTML attributes "id" and "name" * The strategy for generating the HTML attributes "id" and "name"
of choices in a choice field has changed of choices in a choice field has changed
Instead of appending the choice value, a generated integer is now appended Instead of appending the choice value, a generated integer is now appended
by default. Take care if your Javascript relies on that. If you can by default. Take care if your Javascript relies on that. If you can
guarantee that your choice values only contain ASCII letters, digits, guarantee that your choice values only contain ASCII letters, digits,
@ -148,7 +151,7 @@ UPGRADE FROM 2.0 to 2.1
* The strategy for generating the HTML attributes "value" of choices in a * The strategy for generating the HTML attributes "value" of choices in a
choice field has changed choice field has changed
Instead of using the choice value, a generated integer is now stored. Instead of using the choice value, a generated integer is now stored.
Again, take care if your Javascript reads this value. If your choice field Again, take care if your Javascript reads this value. If your choice field
is a non-expanded single-choice field, or if the choices are guaranteed not is a non-expanded single-choice field, or if the choices are guaranteed not