ここの情報は古いです。ご理解頂いた上でお取り扱いください。

Changeset 9705


Ignore:
Timestamp:
Dec 26, 2008, 5:00:56 PM (13 years ago)
Author:
ebihara
Message:

#3224:removed an useless method

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE3/plugins/opAuthPCAddressPlugin/trunk/lib/user/opAuthAdapterPCAddress.class.php

    r9669 r9705  
    7777    return $memberConfig->save();
    7878  }
    79 
    80   /**
    81    * Registers E-mail address.
    82    *
    83    * @param  string $address
    84    * @return Member
    85    */
    86   public function registerEmailAddress($address)
    87   {
    88     $memberConfig = MemberConfigPeer::retrieveByNameAndValue('pc_address_pre', $address);
    89     if ($memberConfig) {
    90       $memberConfig->saveToken();
    91       return $memberConfig->getMember();
    92     }
    93 
    94     $member = new Member();
    95     $member->setIsActive(false);
    96 
    97     $memberConfig = new MemberConfig();
    98     $memberConfig->setName('pc_address');
    99     $memberConfig->setValue($address);
    100     $memberConfig->setMember($member);
    101     $memberConfig->savePre();
    102     $memberConfig->saveToken();
    103 
    104     return $member;
    105   }
    10679}
Note: See TracChangeset for help on using the changeset viewer.