mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-22 00:53:41 +00:00
Handle "create user" setting
This commit is contained in:
parent
6cad529c38
commit
0d84a9fbaf
1 changed files with 1 additions and 1 deletions
|
@ -1245,7 +1245,7 @@ function twitter_fetch_contact($uid, $data, $create_user)
|
||||||
if (!DBA::isResult($contact) && empty($cid)) {
|
if (!DBA::isResult($contact) && empty($cid)) {
|
||||||
Logger::warning('User contact not found', ['uid' => $uid, 'twitter-id' => $data->id_str]);
|
Logger::warning('User contact not found', ['uid' => $uid, 'twitter-id' => $data->id_str]);
|
||||||
return 0;
|
return 0;
|
||||||
} else {
|
} elseif (!$create_user) {
|
||||||
return $cid;
|
return $cid;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue