mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-12 01:54:26 +02:00
Review changes
Update update and new functions to updateFromProbe and create. Update calls to renamed functions.
This commit is contained in:
parent
484eb960d7
commit
c81e83c500
7 changed files with 9 additions and 9 deletions
|
@ -164,7 +164,7 @@ function salmon_post(App $a) {
|
|||
if (! DBM::is_result($r)) {
|
||||
logger('mod-salmon: Author unknown to us.');
|
||||
if(PConfig::get($importer['uid'],'system','ostatus_autofriend')) {
|
||||
$result = Contact::new($importer['uid'], $author_link);
|
||||
$result = Contact::create($importer['uid'], $author_link);
|
||||
if($result['success']) {
|
||||
$r = q("SELECT * FROM `contact` WHERE `network` = '%s' AND ( `url` = '%s' OR `alias` = '%s')
|
||||
AND `uid` = %d LIMIT 1",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue