Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

setRequestToken moved to bottom

  • Loading branch information...
commit e189dc54b6aa8b52dd00396dff2ef0d425f94256 1 parent 0ce3d12
@ceefour authored
Showing with 9 additions and 11 deletions.
  1. +9 −11 jymengine.class.php
View
20 jymengine.class.php
@@ -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;
+ }
/*
Please sign in to comment.
Something went wrong with that request. Please try again.