Created
July 8, 2011 13:39
-
-
Save makasim/1071844 to your computer and use it in GitHub Desktop.
list usage
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Unserializes the user. | |
* | |
* @param string $serialized | |
*/ | |
public function unserialize($serialized) | |
{ | |
list( | |
$this->password, | |
$this->salt, | |
$this->usernameCanonical, | |
$this->username, | |
$this->expired, | |
$this->locked, | |
$this->credentialsExpired, | |
$this->enabled | |
) = unserialize($serialized); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment