Lines Matching refs:cleanupType
6415 $cleanupType = $INPUT->str('cleanup_type', 'age');
6420 $debug['cleanup_type'] = $cleanupType;
6433 $eventsToDelete = $this->findEventsToCleanup($cleanupType, $namespaceFilter);
6453 $cleanupType = $INPUT->str('cleanup_type', 'age');
6466 $eventsToDelete = $this->findEventsToCleanup($cleanupType, $namespaceFilter);
6517 private function findEventsToCleanup($cleanupType, $namespaceFilter) { argument
6529 if ($cleanupType === 'age') {
6542 $rangeStart = $cleanupType === 'range' ? $INPUT->str('range_start', '') : null;
6543 $rangeEnd = $cleanupType === 'range' ? $INPUT->str('range_end', '') : null;
6546 $deleteCompleted = $cleanupType === 'status' && $INPUT->bool('delete_completed', false);
6547 $deletePast = $cleanupType === 'status' && $INPUT->bool('delete_past', false);
6559 …$this->processCalendarFiles($rootCalendarDir, '', $eventsToDelete, $cleanupType, $cutoffDate, $ran…
6589 …$this->processCalendarFiles($calendarDir, $namespace, $eventsToDelete, $cleanupType, $cutoffDate, …
6598 …private function processCalendarFiles($calendarDir, $namespace, &$eventsToDelete, $cleanupType, $c… argument
6610 if ($cleanupType === 'age' && $cutoffDate && $date < $cutoffDate) {
6615 if ($cleanupType === 'range' && $rangeStart && $rangeEnd) {
6622 if ($cleanupType === 'status') {