aboutsummaryrefslogtreecommitdiff
path: root/app/Models/Share.php
diff options
context:
space:
mode:
authorGravatar berumuron <dev@marienfressinaud.fr> 2023-08-10 16:41:16 +0200
committerGravatar GitHub <noreply@github.com> 2023-08-10 16:41:16 +0200
commiteb57f490dbcb5040f2795e0082c28d8f10a0c4b0 (patch)
treefefaf1f82d5965b7976fe98e270475e76b1006b2 /app/Models/Share.php
parent6d8a5429cbcd8ba1142bf365785cd351f762f81a (diff)
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
Diffstat (limited to 'app/Models/Share.php')
-rw-r--r--app/Models/Share.php2
1 files changed, 1 insertions, 1 deletions
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<callable>|array<string,array<callable>>,'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;