- Timestamp:
- 12/31/2014 04:48:29 PM (10 years ago)
- Location:
- sites/trunk/svn.wordpress.org/includes/slack-trac-hooks
- Files:
-
- 1 copied
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/svn.wordpress.org/includes/slack-trac-hooks/commits.php
r1075 r1078 1 1 <?php 2 2 3 namespace SlackCommitHook;3 namespace Dotorg\SlackTracHooks; 4 4 5 class Sender{5 class Commits { 6 6 protected $trac; 7 7 protected $repo; … … 29 29 public function run() { 30 30 $payload = $this->generate_payload(); 31 foreach ( $this->trac->get_c hannels( $this->svnlook( 'changed' ) ) as $channel ) {31 foreach ( $this->trac->get_commit_channels( $this->svnlook( 'changed' ) ) as $channel ) { 32 32 $this->send( $channel, $payload ); 33 33 } … … 46 46 $revision = 'r' . $this->rev; 47 47 48 $username = $this->trac->get_ username();48 $username = $this->trac->get_commit_username(); 49 49 $emoji = $this->trac->get_emoji(); 50 50 $color = $this->trac->get_color();
Note: See TracChangeset
for help on using the changeset viewer.