Skip to content

Commit 7aea5e7

Browse files
spoonerWebdkd-kaehm
authored andcommitted
[TASK] Remove "swap" action as "publish" is only one
1 parent e451f8d commit 7aea5e7

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
@@ -98,7 +98,7 @@ public function processCmdmap_postProcess(
9898

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

0 commit comments

Comments
 (0)