diff options
author | Joas Schilling <coding@schilljs.com> | 2017-05-17 12:02:18 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2017-05-18 10:49:04 +0200 |
commit | c90d56748f92f0636c987721cea3b2308b983950 (patch) | |
tree | 03ff1859f5cbc7fd1813d96f92736593c460be99 /lib | |
parent | e1b5d20b3b405023632e2a332e0b802b24040587 (diff) | |
download | nextcloud-server-c90d56748f92f0636c987721cea3b2308b983950.tar.gz nextcloud-server-c90d56748f92f0636c987721cea3b2308b983950.zip |
We want to see 1 in 100 messages, not all but the 100th
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/Repair/NC11/MoveAvatarsBackgroundJob.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Repair/NC11/MoveAvatarsBackgroundJob.php b/lib/private/Repair/NC11/MoveAvatarsBackgroundJob.php index f8c0d9b3abf..9808b3b9e34 100644 --- a/lib/private/Repair/NC11/MoveAvatarsBackgroundJob.php +++ b/lib/private/Repair/NC11/MoveAvatarsBackgroundJob.php @@ -94,7 +94,7 @@ class MoveAvatarsBackgroundJob extends QueuedJob { } } $counter++; - if ($counter % 100) { + if ($counter % 100 === 0) { $this->logger->info('{amount} avatars migrated', ['amount' => $counter]); } }); |