]> git.wh0rd.org - tt-rss.git/commitdiff
remove firefox feed subscribe integration code (obsolete)
authorAndrew Dolgov <noreply@fakecake.org>
Wed, 14 Mar 2018 15:15:21 +0000 (18:15 +0300)
committerAndrew Dolgov <noreply@fakecake.org>
Wed, 14 Mar 2018 15:15:21 +0000 (18:15 +0300)
classes/pref/feeds.php

index 03f82033fe7f2bb08da2fd399baffea5ea8f8fb9..459fbbe2ac05e47943816ed99011d47cdf43f4e3 100755 (executable)
@@ -1323,25 +1323,6 @@ class Pref_Feeds extends Handler_Protected {
 
                print "</div>"; # pane
 
-               if (strpos($_SERVER['HTTP_USER_AGENT'], "Firefox") !== false) {
-
-                       print "<div dojoType=\"dijit.layout.AccordionPane\" title=\"".__('Firefox integration')."\">";
-
-                       print_notice(__('This Tiny Tiny RSS site can be used as a Firefox Feed Reader by clicking the link below.'));
-
-                       print "<p>";
-
-                       print "<button onclick='window.navigator.registerContentHandler(" .
-                      "\"application/vnd.mozilla.maybe.feed\", " .
-                      "\"" . $this->subscribe_to_feed_url() . "\", " . " \"Tiny Tiny RSS\")'>" .
-                                                        __('Click here to register this site as a feed reader.') .
-                               "</button>";
-
-                       print "</p>";
-
-                       print "</div>"; # pane
-               }
-
                print "<div dojoType=\"dijit.layout.AccordionPane\" title=\"".__('Published & shared articles / Generated feeds')."\">";
 
                print "<p>" . __('Published articles are exported as a public RSS feed and can be subscribed by anyone who knows the URL specified below.') . "</p>";