Skip to content
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

fix session restart on PHP 5.3 #12961

Merged
merged 1 commit into from Dec 12, 2014
Merged

Conversation

Tobion
Copy link
Member

@Tobion Tobion commented Dec 12, 2014

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? no
Fixed tickets #12562
License MIT
Doc PR -

this also removes some useless code

this also removes some useless code
@@ -89,7 +89,7 @@ public function setSessionData(array $array)
*/
public function start()
{
if ($this->started && !$this->closed) {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this was useless because closed is always false if started is true

@fabpot
Copy link
Member

fabpot commented Dec 12, 2014

Thank you @Tobion.

@fabpot fabpot merged commit b9d3c92 into symfony:2.3 Dec 12, 2014
fabpot added a commit that referenced this pull request Dec 12, 2014
This PR was merged into the 2.3 branch.

Discussion
----------

fix session restart on PHP 5.3

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | no
| Fixed tickets | #12562
| License       | MIT
| Doc PR        | -

this also removes some useless code

Commits
-------

b9d3c92 fix session restart on PHP 5.3
@Tobion Tobion deleted the fix-session-restart-php-5.3 branch December 12, 2014 22:10
@@ -209,18 +211,20 @@ public function testSetSaveHandler54()
/**
* @expectedException \RuntimeException
*/
public function testStartedOutside53()
public function testStartedOutside()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This method should be named testStarted. I'll send a pull...

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no it should not

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Opps, oh yeh. Sorry.

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.

None yet

3 participants