Skip to content

Commit 3b3501f

Browse files
authored
[TASK] Remove "swap" action as "publish" is only one
1 parent c60fc6b commit 3b3501f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Classes/IndexQueue/RecordMonitor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public function processCmdmap_postProcess(
100100

101101
// track publish / swap events for records (workspace support)
102102
// command "version"
103-
if ($command === 'version' && in_array($value['action'], ['publish', 'swap']) {
103+
if ($command === 'version' && $value['action'] === 'publish') {
104104
$this->eventDispatcher->dispatch(
105105
new VersionSwappedEvent($uid, $table)
106106
);

0 commit comments

Comments
 (0)