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
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue