Permalink
Browse files

ログアウト時に、保存していたユーザIDなどを削除

  • Loading branch information...
1 parent 467d609 commit 291e82baa434956e882df31fbd992078b747c837 @zaru committed May 10, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/twitter_api.js
View
@@ -110,6 +110,8 @@ var TwitterApi = function(params) {
};
this.clear_accesstoken = function() {
+ Ti.App.Properties.setString('twitter_user_id','');
+ Ti.App.Properties.setString('twitter_screen_name','');
self.oAuthAdapter.clearAccessToken('twitter');
};

0 comments on commit 291e82b

Please sign in to comment.