Rename create
rename create function to createFromProbe and update calls.
This commit is contained in:
parent
c81e83c500
commit
5358f5742e
6 changed files with 7 additions and 7 deletions
|
@ -68,7 +68,7 @@ function ostatus_subscribe_content(App $a) {
|
|||
|
||||
$data = Probe::uri($url);
|
||||
if ($data["network"] == NETWORK_OSTATUS) {
|
||||
$result = Contact::create($uid, $url, true, NETWORK_OSTATUS);
|
||||
$result = Contact::createFromProbe($uid, $url, true, NETWORK_OSTATUS);
|
||||
if ($result["success"]) {
|
||||
$o .= " - ".t("success");
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue