Lines Matching refs:cleanupType
3983 $cleanupType = $INPUT->str('cleanup_type', 'age');
3988 $debug['cleanup_type'] = $cleanupType;
4001 $eventsToDelete = $this->findEventsToCleanup($cleanupType, $namespaceFilter);
4021 $cleanupType = $INPUT->str('cleanup_type', 'age');
4034 $eventsToDelete = $this->findEventsToCleanup($cleanupType, $namespaceFilter);
4088 private function findEventsToCleanup($cleanupType, $namespaceFilter) { argument
4100 if ($cleanupType === 'age') {
4113 $rangeStart = $cleanupType === 'range' ? $INPUT->str('range_start', '') : null;
4114 $rangeEnd = $cleanupType === 'range' ? $INPUT->str('range_end', '') : null;
4117 $deleteCompleted = $cleanupType === 'status' && $INPUT->bool('delete_completed', false);
4118 $deletePast = $cleanupType === 'status' && $INPUT->bool('delete_past', false);
4130 …$this->processCalendarFiles($rootCalendarDir, '', $eventsToDelete, $cleanupType, $cutoffDate, $ran…
4160 …$this->processCalendarFiles($calendarDir, $namespace, $eventsToDelete, $cleanupType, $cutoffDate, …
4169 …private function processCalendarFiles($calendarDir, $namespace, &$eventsToDelete, $cleanupType, $c… argument
4181 if ($cleanupType === 'age' && $cutoffDate && $date < $cutoffDate) {
4186 if ($cleanupType === 'range' && $rangeStart && $rangeEnd) {
4193 if ($cleanupType === 'status') {