diff options
author | ZUNbado <git@acs.li> | 2013-01-16 03:50:54 +0400 |
---|---|---|
committer | ZUNbado <git@acs.li> | 2013-01-16 03:50:54 +0400 |
commit | e1685d0dc2034cd531c11d5222f101f1c9082482 (patch) | |
tree | bee319d84fe6fc14119fe185fa3f6db593f1a018 /user_vd | |
parent | 419cb2c1d91227da34dcf05cbff6ca21cf42a569 (diff) |
fix little bug
Diffstat (limited to 'user_vd')
-rw-r--r-- | user_vd/lib/vd.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/user_vd/lib/vd.php b/user_vd/lib/vd.php index dafc7f2ff..541ccf629 100644 --- a/user_vd/lib/vd.php +++ b/user_vd/lib/vd.php @@ -10,9 +10,8 @@ class OC_USER_VD extends OC_User_Backend{ if($this->userExists($uid)){ return false; }else{ - list($partName,$partDomain)=explode('@',$uid); - $query=OC_DB::prepare('INSERT INTO *PREFIX*users_vd (uid,password,partName,partDomain) VALUES (?,?,?,?)'); - $result=$query->execute(array($uid,$password,$partName,$partDomain)); + $query=OC_DB::prepare('INSERT INTO *PREFIX*users_vd (uid,password) VALUES (?,?,?,?)'); + $result=$query->execute(array($uid,$password)); return $result ? true : false; } } |