From a51a2dfdba570eeb3e0a35877d6de5c846821648 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Mon, 9 Feb 2026 12:29:52 +0100 Subject: [PATCH] wip #7868 @1 --- app/Jobs/AuditLink.php | 1 - app/Jobs/AuditLinkRegister.php | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/app/Jobs/AuditLink.php b/app/Jobs/AuditLink.php index 0ab21ff81..51bc860dd 100644 --- a/app/Jobs/AuditLink.php +++ b/app/Jobs/AuditLink.php @@ -70,7 +70,6 @@ class AuditLink extends Base $res['code_date'] = new \DateTime(); } FluidbookAuditLink::where('url', $url)->update($res); - Log::info('Tested ' . $url . ' : ' . $res['http_code']); $diff = time() - $start; if ($diff < self::$minTimeBetweenRequests) { sleep(self::$minTimeBetweenRequests - $diff); diff --git a/app/Jobs/AuditLinkRegister.php b/app/Jobs/AuditLinkRegister.php index 9458495d6..4cd82e6c7 100644 --- a/app/Jobs/AuditLinkRegister.php +++ b/app/Jobs/AuditLinkRegister.php @@ -31,7 +31,7 @@ class AuditLinkRegister extends Base foreach (DB::table('fluidbook_publication')->get() as $p) { $s = json_decode($p->settings); if (isset($s->linkShortener) && $s->linkShortener && $s->linkShortener !== 'none') { - $publications[] = $s->id; + $publications[] = $p->id; } } -- 2.39.5