]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
use openid.php functions in finishimmediate
authorEvan Prodromou <evan@prodromou.name>
Thu, 19 Jun 2008 13:56:03 +0000 (09:56 -0400)
committerEvan Prodromou <evan@prodromou.name>
Thu, 19 Jun 2008 13:56:03 +0000 (09:56 -0400)
darcs-hash:20080619135603-84dde-1bfd6606f34416eb6f1be4d5c926f6bb198427bd.gz

actions/finishimmediate.php

index af55f166ef8cd989ece14d1c1461bf4fe31536fc..8831536a1ca728392a0254b9169213d46122065f 100644 (file)
@@ -35,10 +35,10 @@ class FinishimmediateAction extends Action {
                        $canonical = ($response->endpoint->canonicalID) ?
                          $response->endpoint->canonicalID : $response->getDisplayIdentifier();
 
-                       $user = $this->get_user($canonical);
+                       $user = oid_get_user($canonical);
                        
                        if ($user) {
-                               $this->update_user($user, $sreg);
+                               oid_update_user($user, $sreg);
                                common_set_user($user->nickname);
                                $this->go_backto();
                                return;