Review changes
Update update and new functions to updateFromProbe and create. Update calls to renamed functions.
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user