Permalink
Browse files

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

  • Loading branch information...
1 parent a3f4c49 commit a7f91b9a19e809e77970d83296108792c02a612c @zagraves zagraves committed May 3, 2010
Showing with 1 addition and 16 deletions.
  1. +0 −15 examples/common.inc.php
  2. +1 −1 examples/simpleauth/simpleauth.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
@@ -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

0 comments on commit a7f91b9

Please sign in to comment.