Code Duplication    Length = 3-3 lines in 2 locations

apps/dav/lib/CalDAV/CalDavBackend.php 2 locations

@@ 1191-1193 (lines=3) @@
1188
			$componentType = $filters['comp-filters'][0]['name'];
1189
1190
			// Checking if we need post-filters
1191
			if (!$filters['prop-filters'] && !$filters['comp-filters'][0]['comp-filters'] && !$filters['comp-filters'][0]['time-range'] && !$filters['comp-filters'][0]['prop-filters']) {
1192
				$requirePostFilter = false;
1193
			}
1194
			// There was a time-range filter
1195
			if ($componentType === 'VEVENT' && isset($filters['comp-filters'][0]['time-range'])) {
1196
				$timeRange = $filters['comp-filters'][0]['time-range'];
@@ 1200-1202 (lines=3) @@
1197
1198
				// If start time OR the end time is not specified, we can do a
1199
				// 100% accurate mysql query.
1200
				if (!$filters['prop-filters'] && !$filters['comp-filters'][0]['comp-filters'] && !$filters['comp-filters'][0]['prop-filters'] && (!$timeRange['start'] || !$timeRange['end'])) {
1201
					$requirePostFilter = false;
1202
				}
1203
			}
1204
1205
		}