Skip to content

Commit

Permalink
fixes delete_list_members
Browse files Browse the repository at this point in the history
  • Loading branch information
nojimage committed May 11, 2012
1 parent ff97773 commit 4b5b591
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions models/datasources/twitter_source.php
Expand Up @@ -1377,10 +1377,10 @@ public function delete_list_members($user, $list_id, $params = array()) {
} else {
$params['list_id'] = $list_id;
}
if (!is_numeric($user)) {
$params['owner_screen_name'] = $user;
if (!is_numeric($params['user_id'])) {
$params['screen_name'] = $user;
} else {
$params['owner_id'] = $user;
$params['user_id'] = $user;
}

return $this->lists_members_destory($params);
Expand Down

0 comments on commit 4b5b591

Please sign in to comment.