Development

Changeset 24790 for plugins/sfDoctrineGuardExtraPlugin

You must first sign up to be able to contribute.

Show
Ignore:
Timestamp:
12/02/09 13:24:10 (3 years ago)
Author:
gimler
Message:

sfDoctrineGuardExtraPlugin[1.3]: change from Doctrine to Doctrine_Core;fix coding standard;

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/sfDoctrineGuardExtraPlugin/branches/1.3/modules/sfGuardForgotPassword/lib/BasesfGuardForgotPasswordActions.class.php

    r24682 r24790  
    4949        $values = $this->form->getValues(); 
    5050 
    51         $sfGuardUser = Doctrine::getTable('sfGuardUser') 
     51        $sfGuardUser = Doctrine_Core::getTable('sfGuardUser') 
    5252          ->createQuery('u') 
    5353          ->where('u.username = ?') 
     
    115115    $params = array($request->getParameter('key'), $request->getParameter('id')); 
    116116 
    117     $this->sfGuardUser = Doctrine::getTable('sfGuardUser') 
     117    $this->sfGuardUser = Doctrine_Core::getTable('sfGuardUser') 
    118118      ->createQuery('u') 
    119119      ->where('u.password = ?') 
  • plugins/sfDoctrineGuardExtraPlugin/branches/1.3/modules/sfGuardRegister/lib/BasesfGuardRegisterActions.class.php

    r24682 r24790  
    112112    $params = array($request->getParameter('key'), $request->getParameter('id')); 
    113113 
    114     $sfGuardUser = Doctrine::getTable('sfGuardUser')->createQuery('u') 
     114    $sfGuardUser = Doctrine_Core::getTable('sfGuardUser')->createQuery('u') 
    115115      ->where('u.password = ? AND u.id = ?', $params) 
    116116      ->limit(1) 
     
    130130   * Send the registration confirm email 
    131131   * 
    132    * @param object $user     user object 
     132   * @param object $user user object 
    133133   * 
    134134   * @return void