Lines Matching refs:cleanupType
6511 $cleanupType = $INPUT->str('cleanup_type', 'age');
6516 $debug['cleanup_type'] = $cleanupType;
6529 $eventsToDelete = $this->findEventsToCleanup($cleanupType, $namespaceFilter);
6549 $cleanupType = $INPUT->str('cleanup_type', 'age');
6562 $eventsToDelete = $this->findEventsToCleanup($cleanupType, $namespaceFilter);
6613 private function findEventsToCleanup($cleanupType, $namespaceFilter) { argument
6625 if ($cleanupType === 'age') {
6638 $rangeStart = $cleanupType === 'range' ? $INPUT->str('range_start', '') : null;
6639 $rangeEnd = $cleanupType === 'range' ? $INPUT->str('range_end', '') : null;
6642 $deleteCompleted = $cleanupType === 'status' && $INPUT->bool('delete_completed', false);
6643 $deletePast = $cleanupType === 'status' && $INPUT->bool('delete_past', false);
6655 …$this->processCalendarFiles($rootCalendarDir, '', $eventsToDelete, $cleanupType, $cutoffDate, $ran…
6685 …$this->processCalendarFiles($calendarDir, $namespace, $eventsToDelete, $cleanupType, $cutoffDate, …
6694 …private function processCalendarFiles($calendarDir, $namespace, &$eventsToDelete, $cleanupType, $c… argument
6706 if ($cleanupType === 'age' && $cutoffDate && $date < $cutoffDate) {
6711 if ($cleanupType === 'range' && $rangeStart && $rangeEnd) {
6718 if ($cleanupType === 'status') {