Permalink
Browse files

Removing debugging code

  • Loading branch information...
1 parent 62ac778 commit b83e23d11b10fb00b37b2f3d808027911b89c925 @macuenca committed Apr 23, 2011
Showing with 0 additions and 3 deletions.
  1. +0 −3 Instagram.php
View
@@ -149,15 +149,13 @@ protected function _setOauthToken() {
* @return string
*/
public function getAccessToken() {
-
if ($this->_accessToken == null) {
if ($this->_oauthToken == null) {
$this->_setOauthToken();
}
$this->_accessToken = json_decode($this->_oauthToken)->access_token;
- echo $this->_accessToken . "<br>\n";
}
return $this->_accessToken;
@@ -169,7 +167,6 @@ public function getAccessToken() {
* @return object
*/
public function getCurrentUser() {
-
if ($this->_currentUser == null) {
if ($this->_oauthToken == null) {

0 comments on commit b83e23d

Please sign in to comment.