function twitter_user_delete in Twitter 6.2
Same name and namespace in other branches
- 6.3 twitter.inc \twitter_user_delete()
- 6.4 twitter.inc \twitter_user_delete()
- 7.6 twitter.module \twitter_user_delete()
- 7.3 twitter.module \twitter_user_delete()
- 7.4 twitter.module \twitter_user_delete()
- 7.5 twitter.module \twitter_user_delete()
1 call to twitter_user_delete()
File
- ./
twitter.inc, line 467 - A wrapper API for the Twitter microblogging service.
Code
function twitter_user_delete($uid, $screen_name = NULL) {
$sql = "DELETE FROM {twitter_user} WHERE uid = %d";
$args = array(
$uid,
);
if (!empty($screen_name)) {
$sql .= " AND screen_name = '%s'";
$args[] = $screen_name;
}
db_query($sql, $args);
}