diff options
author | Zach Copley <zach@status.net> | 2010-05-07 16:32:24 -0700 |
---|---|---|
committer | Zach Copley <zach@status.net> | 2010-05-08 00:07:42 +0000 |
commit | fba140f4e0246a244664f0c0fb2361b027508d35 (patch) | |
tree | 072e877e529eb05687300efc724d8fe44cc42ac4 /lib/apiauth.php | |
parent | 79153869505c9bfb41b7e49b757f233dc19530bb (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 e78de618e..95acbbd7b 100644 --- a/lib/apiauth.php +++ b/lib/apiauth.php @@ -54,7 +54,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, @@ -162,7 +161,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); |