Author: allyb
Date: 2010-02-21 22:51:26 +0100 (Sun, 21 Feb 2010)
New Revision: 28170
Modified:
plugins/sfEasyAuthPlugin/branches/2010-02-18_integration-of-doctrine/lib/model/sfEasyAuthUserBase.php
Log:
Corrected some findOneBy methods
Modified:
plugins/sfEasyAuthPlugin/branches/2010-02-18_integration-of-doctrine/lib/model/sfEasyAuthUserBase.php
===================================================================
---
plugins/sfEasyAuthPlugin/branches/2010-02-18_integration-of-doctrine/lib/model/sfEasyAuthUserBase.php
2010-02-21 21:42:58 UTC (rev 28169)
+++
plugins/sfEasyAuthPlugin/branches/2010-02-18_integration-of-doctrine/lib/model/sfEasyAuthUserBase.php
2010-02-21 21:51:26 UTC (rev 28170)
@@ -439,7 +439,7 @@
*/
public function setUserName($username)
{
- if ($eaUser =
Doctrine::getTable('sfEasyAuthUserCredential')->findOneByUserName/*&sfEasyAuthUserPeer::retrieveByUsername###Doctrine::getTable('sfEasyAuthUserCredential')->findOneByUserName&*/($username))
+ if ($eaUser =
Doctrine::getTable('sfEasyAuthUser')->findOneByUsername/*&sfEasyAuthUserPeer::retrieveByUsername###Doctrine::getTable('sfEasyAuthUser')->findOneByUsername&*/($username))
{
if ($eaUser->getId() !== $this->getId())
{
--
You received this message because you are subscribed to the Google Groups
"symfony SVN" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/symfony-svn?hl=en.