Skip to content

Commit

Permalink
fix(TASK_RECENTCHANGES_TRIM event): Add isMedia flag
Browse files Browse the repository at this point in the history
  • Loading branch information
micgro42 committed May 16, 2018
1 parent 50d9e95 commit eb78702
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions inc/TaskRunner.php
Expand Up @@ -149,6 +149,7 @@ protected function runTrimRecentChanges($media_changes = false)
}

$eventData = [
'isMedia' => $media_changes,
'trimmedChangelogLines' => $out_lines,
'removedChangelogLines' => $extra > 0 ? array_slice($old_lines, 0, -$extra) : $old_lines,
];
Expand Down

0 comments on commit eb78702

Please sign in to comment.