]> source.dussan.org Git - nextcloud-server.git/commitdiff
Coding style fixes
authorBart Visscher <bartv@thisnet.nl>
Fri, 29 Jun 2012 16:36:58 +0000 (18:36 +0200)
committerBart Visscher <bartv@thisnet.nl>
Fri, 29 Jun 2012 16:38:04 +0000 (18:38 +0200)
apps/user_openid/appinfo/app.php
apps/user_openid/user_openid.php

index a37b3237e2091d7ee952b3e2eaafeb879f8a4c73..fe57b189fac3a97205274ba06222f15f345b230a 100644 (file)
@@ -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
index 229bb10aaeb5cfe36296bf3f805fd1e82cf25e0e..70b193a30b13cf8b61b174f3501ad021d46fab65 100644 (file)
@@ -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()){