1
1
Fork 0

Rename create

rename create function to createFromProbe and update calls.
This commit is contained in:
Adam Magness 2018-01-09 11:40:25 -05:00
commit 5358f5742e
6 changed files with 7 additions and 7 deletions

View file

@ -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 {