Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed simpleauth example (typo in logout url and removed openid lib)

  • Loading branch information...
commit a7f91b9a19e809e77970d83296108792c02a612c 1 parent a3f4c49
@zachgraves zachgraves authored
Showing with 1 addition and 16 deletions.
  1. +0 −15 examples/common.inc.php
  2. +1 −1  examples/simpleauth/simpleauth.php
View
15 examples/common.inc.php
@@ -96,21 +96,6 @@
*/
require_once "Auth/OpenID/PAPE.php";
-/**
- * Require OAuth extension.
- */
-require_once "Auth/OpenID/OAuth.php";
-
-
-/**
- * OpenSocial - http://code.google.com/p/opensocial-php-client
- */
-
-/**
- * Require Open Social PHP5 libraries
- */
-require_once 'OpenSocial/osapi.php';
-
/**
* Yahoo! PHP5 SDK - http://github.com/yahoo/yos-social-php5/tree/master
View
2  examples/simpleauth/simpleauth.php
@@ -148,7 +148,7 @@
<?php else: ?>
<?php if(isset($_SESSION['yahoo_oauth_request_token'])): ?>
-<div id="ysimpleauth-logout" class="authbar"><a href="simepleauth.php?openid_mode=cancel">Logout</a></div>
+<div id="ysimpleauth-logout" class="authbar"><a href="simpleauth.php?openid_mode=cancel">Logout</a></div>
<?php endif; ?>
<?php
Please sign in to comment.
Something went wrong with that request. Please try again.