Skip to content

Commit

Permalink
Remove redudant argument for the construction of IssueFileAddedTimeli…
Browse files Browse the repository at this point in the history
…neEvent

The $t_bugnote_id is not used.
  • Loading branch information
Zipher04 authored and atrol committed Mar 30, 2018
1 parent 1067889 commit 5aea6bb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions core/timeline_api.php
Expand Up @@ -113,8 +113,7 @@ function timeline_events( $p_start_time, $p_end_time, $p_max_events, $p_filter =
}
break;
case FILE_ADDED:
$t_bugnote_id = $t_history_event['old_value'];
$t_event = new IssueFileAddedTimelineEvent( $t_timestamp, $t_user_id, $t_issue_id, $t_bugnote_id );
$t_event = new IssueFileAddedTimelineEvent( $t_timestamp, $t_user_id, $t_issue_id );
break;
}

Expand Down

0 comments on commit 5aea6bb

Please sign in to comment.