diff options
author | Bart Visscher <bartv@thisnet.nl> | 2012-06-29 18:36:58 +0200 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2012-06-29 18:38:04 +0200 |
commit | f61793aa14ac8ebbdd7bdc69e21063d12eb08746 (patch) | |
tree | 202329126a2cb9c3daa7d41e3a3513b742ed230b /apps/user_openid | |
parent | 2b4ecbaba0b6696d399166a1faab79cd6f6e2d43 (diff) | |
download | nextcloud-server-f61793aa14ac8ebbdd7bdc69e21063d12eb08746.tar.gz nextcloud-server-f61793aa14ac8ebbdd7bdc69e21063d12eb08746.zip |
Coding style fixes
Diffstat (limited to 'apps/user_openid')
-rw-r--r-- | apps/user_openid/appinfo/app.php | 2 | ||||
-rw-r--r-- | apps/user_openid/user_openid.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/user_openid/appinfo/app.php b/apps/user_openid/appinfo/app.php index a37b3237e20..fe57b189fac 100644 --- a/apps/user_openid/appinfo/app.php +++ b/apps/user_openid/appinfo/app.php @@ -27,7 +27,7 @@ OC_User::useBackend('openid'); //check for results from openid requests if(isset($_GET['openid_mode']) and $_GET['openid_mode'] == 'id_res'){ OCP\Util::writeLog('user_openid','openid retured',OCP\Util::DEBUG); - $openid = new SimpleOpenID; + $openid = new SimpleOpenID(); $openid->SetIdentity($_GET['openid_identity']); $openid_validation_result = $openid->ValidateWithServer(); if ($openid_validation_result == true){ // OK HERE KEY IS VALID diff --git a/apps/user_openid/user_openid.php b/apps/user_openid/user_openid.php index 229bb10aaeb..70b193a30b1 100644 --- a/apps/user_openid/user_openid.php +++ b/apps/user_openid/user_openid.php @@ -37,7 +37,7 @@ class OC_USER_OPENID extends OC_User_Backend { */ public function checkPassword( $uid, $password ){ // Get identity from user and redirect browser to OpenID Server - $openid = new SimpleOpenID; + $openid = new SimpleOpenID(); $openid->SetIdentity($uid); $openid->SetTrustRoot('http://' . OCP\Util::getServerHost()); if ($openid->GetOpenIDServer()){ |