https://bugzilla.wikimedia.org/show_bug.cgi?id=60633

--- Comment #1 from Sam Reed (reedy) <s...@reedyboy.net> ---
    public function trigger( $params ) {

        $revision = $params['revision'];

        \EchoEvent::create( array(
            'type' => CourseTalkNotification::KEY,
            'title' => $params['course-talk-title'],
            'agent' => $params['agent'],
            'extra' => array (

                // 'revid' is used by the EchoBasicFormatter (which
                // CourseTalkFormatter inherits from) to generate the diff
                // destination, which we use in the secondary link.
                'revid' => $revision->getId(),
            ),
        ) );
    }



Not checking if there's actually a revision object...

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to