Skip to content

Commit

Permalink
Merge pull request #42 from systopia/FundingFileManager-disable-acces…
Browse files Browse the repository at this point in the history
…s-check

FundingFileManager: Disable access check on query
  • Loading branch information
dontub authored Jan 8, 2024
2 parents 8c23c97 + d554ef1 commit 9f30837
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/File/FundingFileManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ public function loadByFileUri(string $uri): ?FundingFileInterface {
*/
public function loadByLastAccessBefore(int $lastAccess): array {
$ids = $this->storage->getQuery()
->accessCheck(FALSE)
->condition('last_access', $lastAccess, '<')
->execute();

Expand Down

0 comments on commit 9f30837

Please sign in to comment.