]> git.wh0rd.org - tt-rss.git/blobdiff - plugins/bookmarklets/init.php
move add_feed_url() to pref_feeds
[tt-rss.git] / plugins / bookmarklets / init.php
index a230b2854555c97947224e4ca48d9c7eef93d970..14db3994a591b45aaef17f5e03b1efea7d780662 100644 (file)
@@ -21,7 +21,7 @@ class Bookmarklets extends Plugin {
 
                print "<p>" . __("Drag the link below to your browser toolbar, open the feed you're interested in in your browser and click on the link to subscribe to it.") . "</p>";
 
-               $bm_subscribe_url = str_replace('%s', '', add_feed_url());
+               $bm_subscribe_url = str_replace('%s', '', Pref_Feeds::subscribe_to_feed_url());
 
                $confirm_str = str_replace("'", "\'", __('Subscribe to %s in Tiny Tiny RSS?'));
 
@@ -50,5 +50,4 @@ class Bookmarklets extends Plugin {
                return 2;
        }
 
-}
-?>
+}
\ No newline at end of file