Review changes

Update update and new functions to updateFromProbe and create. Update calls to renamed functions.
This commit is contained in:
Adam Magness 2018-01-09 11:23:26 -05:00
parent 484eb960d7
commit c81e83c500
7 changed files with 9 additions and 9 deletions

View file

@ -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",