]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fix a couple spelling mistakes in comments and remove redundant statement terminator
authorZach Copley <zach@status.net>
Wed, 19 Jan 2011 23:52:18 +0000 (15:52 -0800)
committerZach Copley <zach@status.net>
Wed, 19 Jan 2011 23:52:18 +0000 (15:52 -0800)
classes/User.php
lib/apiauth.php
lib/apioauthstore.php

index 47bf8a617731088589fefc9e0e6b2010c70b8129..654ac8fb50051966db06f268f43bd1ccb2062e27 100644 (file)
@@ -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)
index 1dacf1409b19e42b2fb8d937905537730d6ba9bd..0cc184c04c678e3ee1183fc53326d390db8a9e12 100644 (file)
@@ -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
index 2a65fffc4bb3fa281d9a22fd518c58bd8acbd75c..6aabde047c7ff9c877f08c2661fc18e455dbdeb1 100644 (file)
@@ -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;