Skip to content

Commit

Permalink
fixup! fix: ignore files in appdata when counting unscanned files
Browse files Browse the repository at this point in the history
  • Loading branch information
st3iny committed Nov 13, 2024
1 parent 441ec23 commit 88498ba
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/BackgroundJob/BackgroundScanner.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
use OCP\Files\IMimeTypeLoader;
use OCP\Files\IRootFolder;
use OCP\Files\Node;
use OCP\IConfig;
use OCP\IDBConnection;
use Psr\Log\LoggerInterface;

Expand All @@ -35,6 +36,7 @@ class BackgroundScanner extends TimedJob {
protected ItemFactory $itemFactory;
private IUserMountCache $userMountCache;
private IEventDispatcher $eventDispatcher;
private IConfig $config;
private bool $isCLI;

public function __construct(
Expand All @@ -48,6 +50,7 @@ public function __construct(
ItemFactory $itemFactory,
IUserMountCache $userMountCache,
IEventDispatcher $eventDispatcher,
IConfig $config,
bool $isCLI
) {
parent::__construct($timeFactory);
Expand All @@ -60,6 +63,7 @@ public function __construct(
$this->itemFactory = $itemFactory;
$this->userMountCache = $userMountCache;
$this->eventDispatcher = $eventDispatcher;
$this->config = $config;
$this->isCLI = $isCLI;

// Run once per 15 minutes
Expand Down

0 comments on commit 88498ba

Please sign in to comment.