Development

Changeset 21321

You must first sign up to be able to contribute.

Changeset 21321

Show
Ignore:
Timestamp:
08/22/09 01:09:38 (4 years ago)
Author:
dwhittle
Message:

ysfOpenPlugin [trunk]: tweaked openid user id

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/ysfOpenPlugin/trunk/lib/user/ysfOpenIDUser.class.php

    r20251 r21321  
    2727  } 
    2828 
    29   public function login($identity, $profile
     29  public function login($identity, $profile = array()
    3030  { 
    3131    $this->setAuthenticated(true); 
     
    5656  public function isGoogle() 
    5757  { 
    58     return (stripos($this->getUsername(), 'www.google.com') !== false); 
     58    return (stripos($this->getUsername(), 'google.com') !== false); 
    5959  } 
    6060 
    6161  public function isYahoo() 
    6262  { 
    63     return (stripos($this->getUsername(), 'me.yahoo.com') !== false); 
     63    return (stripos($this->getUsername(), 'yahoo.com') !== false); 
    6464  } 
    6565