diff options
author | Louis Chemineau <louis@chmn.me> | 2025-02-06 10:51:32 +0100 |
---|---|---|
committer | Louis Chemineau <louis@chmn.me> | 2025-02-06 11:09:22 +0100 |
commit | 6744accdd9b1cf2a7e1c1c55f52f4981b30dfe8a (patch) | |
tree | 02a85f90bd81674c423a6cb87b03da03b729b6c6 | |
parent | cd6ac0470e6d525f59bf004e66c56826809027a9 (diff) | |
download | nextcloud-server-jtr/fix-updater-cleanup-job-logging.tar.gz nextcloud-server-jtr/fix-updater-cleanup-job-logging.zip |
chore: Run cs:fixjtr/fix-updater-cleanup-job-logging
Signed-off-by: Louis Chemineau <louis@chmn.me>
-rw-r--r-- | core/BackgroundJobs/BackgroundCleanupUpdaterBackupsJob.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/BackgroundJobs/BackgroundCleanupUpdaterBackupsJob.php b/core/BackgroundJobs/BackgroundCleanupUpdaterBackupsJob.php index bb3dc6b2a45..2396cde2290 100644 --- a/core/BackgroundJobs/BackgroundCleanupUpdaterBackupsJob.php +++ b/core/BackgroundJobs/BackgroundCleanupUpdaterBackupsJob.php @@ -28,13 +28,13 @@ class BackgroundCleanupUpdaterBackupsJob extends QueuedJob { * @param array $argument */ public function run($argument): void { - $this->log->info("Running background job to clean-up outdated updater backups"); + $this->log->info('Running background job to clean-up outdated updater backups'); $updateDir = $this->config->getSystemValue('updatedirectory', null) ?? $this->config->getSystemValue('datadirectory', \OC::$SERVERROOT . '/data'); $instanceId = $this->config->getSystemValue('instanceid', null); if (!is_string($instanceId) || empty($instanceId)) { - $this->log->error("Skipping updater backup clean-up - instanceId is missing!"); + $this->log->error('Skipping updater backup clean-up - instanceId is missing!'); return; } @@ -73,7 +73,7 @@ class BackgroundCleanupUpdaterBackupsJob extends QueuedJob { $result = \OC_Helper::rmdirr($dir); if (!$result) { $this->log->error('Could not remove updater backup folder $dir'); - } + } } $this->log->info('Background job to clean-up updater backups has finished'); } else { |