Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed typo

  • Loading branch information...
commit a31c0a5f159e62910185887b966b45a928e8d0f6 1 parent 6ec1d8b
mark authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 models/HaLogin.php
View
6 models/HaLogin.php
@@ -99,7 +99,7 @@ public static function getUser($loginProvider,$loginProviderIdentity) {
$criteria->compare('loginProvider',$loginProvider,true);
$criteria->compare('loginProviderIdentifier',$loginProviderIdentity,true);
- $login = new CActiveDataProvider('HaLogins', array(
+ $login = new CActiveDataProvider('HaLogin', array(
'criteria'=>$criteria,
));
@@ -117,7 +117,7 @@ public static function getUser($loginProvider,$loginProviderIdentity) {
public static function getLogins($userId) {
$criteria=new CDbCriteria;
$criteria->compare('userId',$userId,true);
- $data= new CActiveDataProvider('HaLogins', array(
+ $data= new CActiveDataProvider('HaLogin', array(
'criteria'=>$criteria,
));
return $data->getData();
@@ -127,7 +127,7 @@ public static function getLogin($userId,$provider) {
$criteria=new CDbCriteria;
$criteria->compare('userId',$userId,true);
$criteria->compare('loginProvider',$provider,true);
- $data= new CActiveDataProvider('HaLogins', array(
+ $data= new CActiveDataProvider('HaLogin', array(
'criteria'=>$criteria,
));
$tmp = $data->getData();
Please sign in to comment.
Something went wrong with that request. Please try again.