Skip to content

Commit

Permalink
[TASK] Remove all restrictions for finding inactive companies query
Browse files Browse the repository at this point in the history
  • Loading branch information
hojalatheef committed Jan 9, 2025
1 parent a716d6f commit 69d68dc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Classes/Domain/Repository/CompanyRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ public function findOlderThan(int $days): array
$history = $today - ($days * 60 * 60 * 24); // Calculate the UNIX timestamp for the cutoff date

$queryBuilder = $this->connectionPool->getQueryBuilderForTable(self::TABLE);
$queryBuilder->getRestrictions()->removeAll();

// Fetch the results as associative arrays
return $queryBuilder
Expand Down

0 comments on commit 69d68dc

Please sign in to comment.