From 20e0371c1934f19d52dc1de1e632adac8df330b3 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Fri, 20 May 2022 23:19:45 -0600 Subject: [PATCH] Update AP helpers, remove unused variable --- app/Util/ActivityPub/Helpers.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Util/ActivityPub/Helpers.php b/app/Util/ActivityPub/Helpers.php index 9a1aa2743..d471482b7 100644 --- a/app/Util/ActivityPub/Helpers.php +++ b/app/Util/ActivityPub/Helpers.php @@ -721,7 +721,7 @@ class Helpers { abort_if(!self::validateUrl($res['inbox']), 400); abort_if(!self::validateUrl($res['id']), 400); - $profile = DB::transaction(function() use($domain, $webfinger, $res, $runJobs) { + $profile = DB::transaction(function() use($domain, $webfinger, $res) { $instance = Instance::updateOrCreate([ 'domain' => $domain ]);