From eb57f490dbcb5040f2795e0082c28d8f10a0c4b0 Mon Sep 17 00:00:00 2001 From: berumuron Date: Thu, 10 Aug 2023 16:41:16 +0200 Subject: tec: Make FreshRSS_Share::register public (#5578) I don't know why the visibility of this method has changed, but it's essential to register custom shares as extensions. Reference: a13a20de20702d86df904e16560c52bfe7c90aad --- app/Models/Share.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Models/Share.php') diff --git a/app/Models/Share.php b/app/Models/Share.php index 5bacfc381..ae2c4a6b8 100644 --- a/app/Models/Share.php +++ b/app/Models/Share.php @@ -15,7 +15,7 @@ class FreshRSS_Share { * @param array{'type':string,'url':string,'transform'?:array|array>,'field'?:string,'help'?:string,'form'?:'simple'|'advanced', * 'method'?:'GET'|'POST','HTMLtag'?:'button','deprecated'?:bool} $share_options is an array defining the share option. */ - private static function register(array $share_options): void { + public static function register(array $share_options): void { $type = $share_options['type']; if (isset(self::$list_sharing[$type])) { return; -- cgit v1.2.3