|
@@ -540,7 +540,8 @@ |
|
|
block discarded – undo |
|
540
|
540
|
* @param bool $includeSystemCollections |
|
541
|
541
|
* @return Closure |
|
542
|
542
|
*/ |
|
543
|
|
- private function getSystemCollectionFilterClosure($includeSystemCollections = false) { |
|
|
543
|
+ private function getSystemCollectionFilterClosure($includeSystemCollections = false) |
|
|
544
|
+ { |
|
544
|
545
|
return function (CollectionInfo $collectionInfo) use ($includeSystemCollections) { |
|
545
|
546
|
return $includeSystemCollections || ! preg_match('#^system\.#', $collectionInfo->getName()); |
|
546
|
547
|
}; |
Please login to merge, or discard this patch.