Let the remote side know the Salmon was accepted (sorta)

This commit is contained in:
Mikael Nordfeldth 2016-01-16 22:39:59 +01:00
parent deda83fdef
commit 6dc0477c00

View File

@ -109,6 +109,7 @@ class SalmonAction extends Action
// duplicate? Maybe someone's database is out of sync?
// Let's just accept it and move on.
common_log(LOG_INFO, 'Salmon slap carried an event which had already been fulfilled.');
return true;
} catch (NoticeSaveException $e) {
common_debug('Notice::saveActivity did not save our '._ve($this->activity->verb).' activity, trying old-fashioned salmon saving.');
}