Explorar o código

Update AP helpers, remove unused variable

Daniel Supernault %!s(int64=3) %!d(string=hai) anos
pai
achega
20e0371c19
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/Util/ActivityPub/Helpers.php

+ 1 - 1
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
 				]);