Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 805-807 (lines=3) @@
802
			$componentType = $filters['comp-filters'][0]['name'];
803
804
			// Checking if we need post-filters
805
			if (!$filters['prop-filters'] && !$filters['comp-filters'][0]['comp-filters'] && !$filters['comp-filters'][0]['time-range'] && !$filters['comp-filters'][0]['prop-filters']) {
806
				$requirePostFilter = false;
807
			}
808
			// There was a time-range filter
809
			if ($componentType == 'VEVENT' && isset($filters['comp-filters'][0]['time-range'])) {
810
				$timeRange = $filters['comp-filters'][0]['time-range'];
@@ 814-816 (lines=3) @@
811
812
				// If start time OR the end time is not specified, we can do a
813
				// 100% accurate mysql query.
814
				if (!$filters['prop-filters'] && !$filters['comp-filters'][0]['comp-filters'] && !$filters['comp-filters'][0]['prop-filters'] && (!$timeRange['start'] || !$timeRange['end'])) {
815
					$requirePostFilter = false;
816
				}
817
			}
818
819
		}