Skip to content
This repository has been archived by the owner on Nov 26, 2017. It is now read-only.

PDO does not support serialization #1333

Merged
merged 5 commits into from Jul 6, 2012
Merged

Conversation

stefanneculai
Copy link
Contributor

PDO does not support serialization, so I think it should not be serialized. Adding the __sleep method would prevent serializing properties that are instances of PDO.

The connection is established again on __wakeup.

LouisLandry added a commit that referenced this pull request Jul 6, 2012
PDO does not support serialization
@LouisLandry LouisLandry merged commit 893ba43 into joomla:staging Jul 6, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants