From: Evan Prodromou Date: Sun, 21 Feb 2010 19:17:37 +0000 (-0500) Subject: use Ostatus_profile::ensureActivityObjectProfile() in SalmonAction::ensureProfile() X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ad3406a919d950315ed1381ffb4dd8d47baf2c24;p=quix0rs-gnu-social.git use Ostatus_profile::ensureActivityObjectProfile() in SalmonAction::ensureProfile() --- diff --git a/plugins/OStatus/lib/salmonaction.php b/plugins/OStatus/lib/salmonaction.php index abd8d4c833..87e98ad354 100644 --- a/plugins/OStatus/lib/salmonaction.php +++ b/plugins/OStatus/lib/salmonaction.php @@ -155,10 +155,11 @@ class SalmonAction extends Action $actor = $this->act->actor; if (empty($actor->id)) { common_log(LOG_ERR, "broken actor: " . var_export($actor, true)); + common_log(LOG_ERR, "activity with no actor: " . var_export($this->act, true)); throw new Exception("Received a salmon slap from unidentified actor."); } - return Ostatus_profile::ensureActorProfile($this->act); + return Ostatus_profile::ensureActivityObjectProfile($actor); } function saveNotice()