diff options
| author | 2023-06-12 08:22:02 +0200 | |
|---|---|---|
| committer | 2023-06-12 08:22:02 +0200 | |
| commit | 2f5ef39cf2e0bad6d3a30b02e42d10700d0546a3 (patch) | |
| tree | 36fbd4698df843c5a1ce546bb3d9f1c2ffc3a6f5 /lib/core-extensions/Google-Groups/extension.php | |
| parent | 7a5dd5cedd17791a88670e079d89349dbc926085 (diff) | |
Remove core extensions Google Groups and Tumblr (#5457)
* Remove core extensions Google Groups and Tumblr
* Google Groups seems to have remove support for RSS/ATOM https://github.com/FreshRSS/FreshRSS/pull/2838 (see e.g. https://www.theregister.com/2021/08/16/google_groups_rss/ )
* Tumblr seems to have fixed their RSS/ATOM post-GDPR https://github.com/FreshRSS/FreshRSS/pull/1924
So for both of thems, the extensions have become irrelevant.
* Cleaning
Diffstat (limited to 'lib/core-extensions/Google-Groups/extension.php')
| -rw-r--r-- | lib/core-extensions/Google-Groups/extension.php | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/core-extensions/Google-Groups/extension.php b/lib/core-extensions/Google-Groups/extension.php deleted file mode 100644 index eb30de5f9..000000000 --- a/lib/core-extensions/Google-Groups/extension.php +++ /dev/null @@ -1,11 +0,0 @@ -<?php -class GoogleGroupsExtension extends Minz_Extension { - /** @return void */ - public function init() { - $this->registerHook('check_url_before_add', array('GoogleGroupsExtension', 'findFeed')); - } - - public static function findFeed(string $url): string { - return preg_replace('%^(https?://groups.google.com/forum)/#!forum/(.+)$%i', '$1/feed/$2/msgs/rss.xml', $url) ?? ''; - } -} |
