Skip to content
Snippets Groups Projects
Commit 50d9e958 authored by Andreas Gohr's avatar Andreas Gohr
Browse files

rename task event

The matches our scheme of where_data_what better
parent 3ad4c3cd
No related branches found
No related tags found
No related merge requests found
......@@ -87,7 +87,7 @@ class TaskRunner
* the page changelog
*
* @return bool
*
* @triggers TASK_RECENTCHANGES_TRIM
* @author Ben Coburn <btcoburn@silicodon.net>
*/
protected function runTrimRecentChanges($media_changes = false)
......@@ -152,7 +152,7 @@ class TaskRunner
'trimmedChangelogLines' => $out_lines,
'removedChangelogLines' => $extra > 0 ? array_slice($old_lines, 0, -$extra) : $old_lines,
];
trigger_event('TRIM_RECENT_CHANGES', $eventData);
trigger_event('TASK_RECENTCHANGES_TRIM', $eventData);
$out_lines = $eventData['trimmedChangelogLines'];
// save trimmed changelog
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment