Skip to content

Commit

Permalink
remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
Leandro Almeida authored and Leandro Almeida committed Jul 8, 2014
1 parent 08fd2dc commit e29d502
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/node-social-counter.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,13 +128,9 @@
if (err) {
log(key+': GOOGLE_ERROR - '+ err.code);
} else {

body = JSON.parse(body);

if(typeof body[0].result.metadata.globalCounts.count !== 'undefined' ){
requestQueue[key].g_count = parseInt(body[0].result.metadata.globalCounts.count);
} else {
log('G_ERROR: '+ err.code);
}
}
}
Expand Down

0 comments on commit e29d502

Please sign in to comment.