1
1
Fork 0

Review changes

Replacements for ::delete() as well as changes to include use statements.
This commit is contained in:
Adam Magness 2017-11-07 09:12:01 -05:00
commit b995e858e6
6 changed files with 21 additions and 19 deletions

View file

@ -53,8 +53,8 @@ function ostatus_subscribe_content(App $a) {
if ($counter >= $total) {
$a->page['htmlhead'] = '<meta http-equiv="refresh" content="0; URL='.System::baseUrl().'/settings/connectors">';
del_pconfig($uid, "ostatus", "legacy_friends");
del_pconfig($uid, "ostatus", "legacy_contact");
PConfig::delete($uid, "ostatus", "legacy_friends");
PConfig::delete($uid, "ostatus", "legacy_contact");
$o .= t("Done");
return $o;
}