[OStatus] Remove TFN's deprecated Census event and fix small typo in the code

This commit is contained in:
tenma
2020-04-07 02:42:40 +01:00
committed by Diogo Peralta Cordeiro
parent 12945c4d20
commit 34e1a6ee08
2 changed files with 3 additions and 15 deletions

View File

@@ -1217,7 +1217,7 @@ class Ostatus_profile extends Managed_DataObject
// Yes! Avoid creating a new profile
$oprofile->profile_id = $profile_id;
if ($profile->insert() === false) {
if ($oprofile->insert() === false) {
// TRANS: Server exception.
throw new ServerException(_m('Cannot save OStatus profile.'));
}