Update call for renamed OStatus functions -- installer now no longer fails with a PHP fatal error when trying to set up the subscription to update@status.net.
This commit is contained in:
parent
37b41d227d
commit
5db01b3135
@ -904,7 +904,7 @@ function registerInitialUser($nickname, $password, $email, $adminUpdates)
|
||||
|
||||
if (class_exists('Ostatus_profile') && $adminUpdates) {
|
||||
try {
|
||||
$oprofile = Ostatus_profile::ensureProfile('http://update.status.net/');
|
||||
$oprofile = Ostatus_profile::ensureProfileURL('http://update.status.net/');
|
||||
Subscription::start($user->getProfile(), $oprofile->localProfile());
|
||||
updateStatus("Set up subscription to <a href='http://update.status.net/'>update@status.net</a>.");
|
||||
} catch (Exception $e) {
|
||||
|
Loading…
Reference in New Issue
Block a user