diff options
author | Zach Copley <zach@status.net> | 2010-05-07 16:32:24 -0700 |
---|---|---|
committer | Zach Copley <zach@status.net> | 2010-05-07 17:22:16 -0700 |
commit | da18701394ef717cd68dad11f5a830719ad675e6 (patch) | |
tree | 025337dbde9473a6122fb103716be13d75df2c22 /lib/apiauth.php | |
parent | 06a63b0404aa96efc1118563482c11567b048961 (diff) |
Fix for repeats from the API having null source attribution
Diffstat (limited to 'lib/apiauth.php')
-rw-r--r-- | lib/apiauth.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/apiauth.php b/lib/apiauth.php index 8c3998888..9c68e2771 100644 --- a/lib/apiauth.php +++ b/lib/apiauth.php @@ -72,7 +72,6 @@ class ApiAuthAction extends ApiAction { var $auth_user_nickname = null; var $auth_user_password = null; - var $oauth_source = null; /** * Take arguments for running, looks for an OAuth request, @@ -181,7 +180,7 @@ class ApiAuthAction extends ApiAction // set the source attr - $this->oauth_source = $app->name; + $this->source = $app->name; $appUser = Oauth_application_user::staticGet('token', $access_token); |