Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 967-969 (lines=3) @@
964
			$componentType = $filters['comp-filters'][0]['name'];
965
966
			// Checking if we need post-filters
967
			if (!$filters['prop-filters'] && !$filters['comp-filters'][0]['comp-filters'] && !$filters['comp-filters'][0]['time-range'] && !$filters['comp-filters'][0]['prop-filters']) {
968
				$requirePostFilter = false;
969
			}
970
			// There was a time-range filter
971
			if ($componentType == 'VEVENT' && isset($filters['comp-filters'][0]['time-range'])) {
972
				$timeRange = $filters['comp-filters'][0]['time-range'];
@@ 976-978 (lines=3) @@
973
974
				// If start time OR the end time is not specified, we can do a
975
				// 100% accurate mysql query.
976
				if (!$filters['prop-filters'] && !$filters['comp-filters'][0]['comp-filters'] && !$filters['comp-filters'][0]['prop-filters'] && (!$timeRange['start'] || !$timeRange['end'])) {
977
					$requirePostFilter = false;
978
				}
979
			}
980
981
		}