Permalink
Browse files

setRequestToken moved to bottom

  • Loading branch information...
1 parent 0ce3d12 commit e189dc54b6aa8b52dd00396dff2ef0d425f94256 @ceefour committed Sep 28, 2010
Showing with 9 additions and 11 deletions.
  1. +9 −11 jymengine.class.php
View
@@ -79,16 +79,6 @@ public function fetch_request_token()
return true;
}
- /**
- * Sets the request token manually.
- * @param string $requestToken
- */
- public function setRequestToken($requestToken) {
- if (stripos($requestToken, 'RequestToken') !== false)
- $requestToken = trim(str_replace('RequestToken=', '', $requestToken));
- $this->_token['request'] = $requestToken;
- }
-
public function fetch_access_token()
{
//prepare url
@@ -470,7 +460,15 @@ public function fetch_long_notification($seq = 0)
return $js['responses'];
}
-
+ /**
+ * Sets the request token manually.
+ * @param string $requestToken
+ */
+ public function setRequestToken($requestToken) {
+ if (stripos($requestToken, 'RequestToken') !== false)
+ $requestToken = trim(str_replace('RequestToken=', '', $requestToken));
+ $this->_token['request'] = $requestToken;
+ }
/*

0 comments on commit e189dc5

Please sign in to comment.