Making WordPress.org


Ignore:
Timestamp:
12/31/2014 05:20:31 PM (12 years ago)
Author:
nacin
Message:

Slack: Fix some minor issues.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/svn.wordpress.org/bin/slack-trac-hook.php

    r1078 r1079  
    4646        require INC . '/trac.php';
    4747        require INC . '/config.php';
    48         $args = Dotorg\SlackTracHook\Comments\process_message( $lines );
     48        $args = Dotorg\SlackTracHooks\Comments\process_message( $lines );
    4949        $args['trac']   = $trac;
    5050        $args['ticket'] = $ticket;
    5151        $args['ticket_url']  = $ticket_url;
    5252        $args['comment_url'] = $comment_url;
    53         Dotorg\SlackTracHook\Comments\send( SLACK_SENDING_HOOK, $args );
     53        Dotorg\SlackTracHooks\Comments\send( SLACK_SENDING_HOOK, $args );
    5454}
    5555
    5656function slack_ticket_hook( $trac, $ticket ) {
    5757        $payload = array(
    58                 'token' => SLACK_TICKET_HOOK_API_TOKEN,
    59                 'trac' => $trac,
     58                'trac'   => $trac,
    6059                'ticket' => $ticket,
    6160        );
Note: See TracChangeset for help on using the changeset viewer.