We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4043b1a + becfa35 commit 9e82607Copy full SHA for 9e82607
1 file changed
Classes/Flowpack/ElasticSearch/ContentRepositoryAdaptor/Indexer/NodeIndexingManager.php
@@ -73,7 +73,7 @@ public function injectSettings(array $settings) {
73
* @param mixed $targetWorkspace In case this is triggered during publishing, a Workspace will be passed in
74
* @return void
75
*/
76
- public function indexNode(Node $node, $targetWorkspace) {
+ public function indexNode(Node $node, $targetWorkspace = NULL) {
77
$this->nodesToBeRemoved->detach($node);
78
$this->nodesToBeIndexed->attach($node);
79
$this->targetWorkspaceNamesForNodesToBeIndexed[$node->getContextPath()] = $targetWorkspace instanceof \TYPO3\TYPO3CR\Domain\Model\Workspace ? $targetWorkspace->getName() : NULL;
0 commit comments