1
1
Fork 0

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
commit c81e83c500
7 changed files with 9 additions and 9 deletions

View file

@ -68,7 +68,7 @@ function ostatus_subscribe_content(App $a) {
$data = Probe::uri($url);
if ($data["network"] == NETWORK_OSTATUS) {
$result = Contact::new($uid, $url, true, NETWORK_OSTATUS);
$result = Contact::create($uid, $url, true, NETWORK_OSTATUS);
if ($result["success"]) {
$o .= " - ".t("success");
} else {