Author: allyb
Date: 2010-02-20 19:35:53 +0100 (Sat, 20 Feb 2010)
New Revision: 28160

Modified:
   
plugins/sfEasyAuthPlugin/branches/2010-02-18_integration-of-doctrine/modules/sfEasyAuth/lib/BasesfEasyAuthActions.class.php
Log:
Updated the actions base class

Modified: 
plugins/sfEasyAuthPlugin/branches/2010-02-18_integration-of-doctrine/modules/sfEasyAuth/lib/BasesfEasyAuthActions.class.php
===================================================================
--- 
plugins/sfEasyAuthPlugin/branches/2010-02-18_integration-of-doctrine/modules/sfEasyAuth/lib/BasesfEasyAuthActions.class.php
 2010-02-20 18:33:31 UTC (rev 28159)
+++ 
plugins/sfEasyAuthPlugin/branches/2010-02-18_integration-of-doctrine/modules/sfEasyAuth/lib/BasesfEasyAuthActions.class.php
 2010-02-20 18:35:53 UTC (rev 28160)
@@ -248,7 +248,7 @@
         $email = $this->form->getValue('email');
 
         // try to retrieve the user with this email address
-        if ($eaUser = sfEasyAuthUserPeer::retrieveByEmail($email))
+        if ($eaUser = 
Doctrine::getTable('sfEasyAuthUser')->findOneByEmail/*&sfEasyAuthUserPeer::retrieveByEmail###Doctrine::getTable('sfEasyAuthUser')->findOneByEmail&*/($email))
         {
           // call an event before sending the reset message
           $this->getContext()->getEventDispatcher()->notify(new sfEvent(

-- 
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.

Reply via email to