Created
September 21, 2010 13:37
-
-
Save odino/589693 to your computer and use it in GitHub Desktop.
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
class sfGuardUser extends PluginsfGuardUser | |
{ | |
public function save(Doctrine_Connection $conn = null) | |
{ | |
if (get_class($this) != 'sfGuardUser') | |
{ | |
$name = $this->native_group; | |
$native_group = $this->getNativeGroup($name); | |
$this->link('Groups', $native_group->id); | |
} | |
parent::save($conn); | |
} |
odracci
commented
Sep 21, 2010
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment