Changeset 1079 for sites/trunk/svn.wordpress.org/bin/slack-trac-hook.php
- Timestamp:
- 12/31/2014 05:20:31 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/svn.wordpress.org/bin/slack-trac-hook.php
r1078 r1079 46 46 require INC . '/trac.php'; 47 47 require INC . '/config.php'; 48 $args = Dotorg\SlackTracHook \Comments\process_message( $lines );48 $args = Dotorg\SlackTracHooks\Comments\process_message( $lines ); 49 49 $args['trac'] = $trac; 50 50 $args['ticket'] = $ticket; 51 51 $args['ticket_url'] = $ticket_url; 52 52 $args['comment_url'] = $comment_url; 53 Dotorg\SlackTracHook \Comments\send( SLACK_SENDING_HOOK, $args );53 Dotorg\SlackTracHooks\Comments\send( SLACK_SENDING_HOOK, $args ); 54 54 } 55 55 56 56 function slack_ticket_hook( $trac, $ticket ) { 57 57 $payload = array( 58 'token' => SLACK_TICKET_HOOK_API_TOKEN, 59 'trac' => $trac, 58 'trac' => $trac, 60 59 'ticket' => $ticket, 61 60 );
Note: See TracChangeset
for help on using the changeset viewer.