Skip to content

Commit

Permalink
fixup! Do not set up filesystem on every call
Browse files Browse the repository at this point in the history
  • Loading branch information
miaulalala committed Feb 7, 2023
1 parent 6db77a8 commit ac9d919
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/files/lib/BackgroundJob/FileChunkCleanupJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public function __construct(IUserManager $userManager, IRootFolder $rootFolder,
/**
* This job cleans up all backups except the latest 3 from the updaters backup directory
*/
public function run($argument) {
public function run($argument): void {
$this->userManager->callForSeenUsers(function (IUser $user): void {
$this->logger->debug('Running chunk cleanup job for user '. $user->getUID());
$fileCache = new File();
Expand Down

0 comments on commit ac9d919

Please sign in to comment.