There was an error while loading. Please reload this page.
2 parents 17b468a + b1c75d2 commit 27c2453Copy full SHA for 27c2453
1 file changed
lib/DigestSender.php
@@ -70,6 +70,11 @@ public function sendDigests(int $now): void {
70
continue;
71
}
72
$userObject = $this->userManager->get($user);
73
+ if (is_null($userObject)) {
74
+ // User is not existing
75
+ $this->logger->info('Exception occurred while retreiving the user object for sending user digest email');
76
+ continue;
77
+ }
78
if (!$userObject->isEnabled()) {
79
// User is disabled so do not send the email but update last sent since after enabling avoid flooding
80
$this->updateLastSentForUser($userObject, $now);
0 commit comments