From 3706e6184298f46eb8cc16f3b456345e58c96f85 Mon Sep 17 00:00:00 2001 From: Alex Kirk Date: Thu, 15 Dec 2022 09:01:41 +0100 Subject: [PATCH] Revert adding an argument --- includes/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/functions.php b/includes/functions.php index 138c557..8f2e5d9 100644 --- a/includes/functions.php +++ b/includes/functions.php @@ -61,7 +61,7 @@ function safe_remote_post( $url, $body, $user_id ) { return $response; } -function safe_remote_get( $url, $user_id, $override_args = array() ) { +function safe_remote_get( $url, $user_id ) { $date = \gmdate( 'D, d M Y H:i:s T' ); $signature = \Activitypub\Signature::generate_signature( $user_id, 'get', $url, $date );