GitHost.io will be shut down on June 1, 2019. At that point this instance will be unreachable and all data will be irrevocably deleted. More details at https://about.gitlab.com/gitlab-hosted/#githost-is-shutting-down-on-june-1st-2019

  • Evan Prodromou's avatar
    Convert Notice::asAtomEntry() to use Notice::asActivity() and Activity::asString() · b28266b3
    Evan Prodromou authored
    We had two ways to generate an activity entry from a notice; one through
    Notice::asAtomEntry() and one through Notice::asActivity() and
    Activity::asString(). The code paths had already diverged somewhat. I
    took the conditions that were in Notice::asAtomEntry() and made sure
    they were replicated in the other two functions. Then, I rewrote
    Notice::asAtomEntry() to use the other two functions instead.
    
    This change passes the ActivityGenerationTests unit tests, but there
    may be some other stuff that's not getting covered.
    b28266b3
activitysource.php 1.61 KB