From 6eca8188b6f341f51cb9c741ea6785b4b35c6e84 Mon Sep 17 00:00:00 2001 From: Zach Copley Date: Wed, 19 Jan 2011 15:52:18 -0800 Subject: [PATCH] Fix a couple spelling mistakes in comments and remove redundant statement terminator --- classes/User.php | 2 +- lib/apiauth.php | 2 +- lib/apioauthstore.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/classes/User.php b/classes/User.php index 47bf8a6177..654ac8fb50 100644 --- a/classes/User.php +++ b/classes/User.php @@ -975,7 +975,7 @@ class User extends Memcached_DataObject } /* - * Get a list of OAuth client application that have access to this + * Get a list of OAuth client applications that have access to this * user's account. */ function getConnectedApps($offset = 0, $limit = null) diff --git a/lib/apiauth.php b/lib/apiauth.php index 1dacf1409b..0cc184c04c 100644 --- a/lib/apiauth.php +++ b/lib/apiauth.php @@ -337,7 +337,7 @@ class ApiAuthAction extends ApiAction } /** - * Log an API authentication failer. Collect the proxy and IP + * Log an API authentication failure. Collect the proxy and IP * and log them * * @param string $logMsg additional log message diff --git a/lib/apioauthstore.php b/lib/apioauthstore.php index 2a65fffc4b..6aabde047c 100644 --- a/lib/apioauthstore.php +++ b/lib/apioauthstore.php @@ -229,7 +229,7 @@ class ApiStatusNetOAuthDataStore extends StatusNetOAuthDataStore // insert a new Oauth_application_user record w/access token $appUser = new Oauth_application_user(); - $appUser->profile_id = $tokenAssoc->profile_id;; + $appUser->profile_id = $tokenAssoc->profile_id; $appUser->application_id = $app->id; $appUser->access_type = $app->access_type; $appUser->token = $at->tok;