]> git.wh0rd.org - tt-rss.git/blobdiff - plugins/flattr/init.php
remove deprecated theme_image()
[tt-rss.git] / plugins / flattr / init.php
index d5e4ad0259b71f4fa630c5f226da91b7755e083b..b9101988046635cfc1cb6b1de827403c09de30ac 100644 (file)
@@ -25,7 +25,7 @@ class Flattr extends Plugin {
         $encoded = urlencode($article_link);
         $r = file_get_contents("https://api.flattr.com/rest/v2/things/lookup/?url=$encoded");
         $response = json_decode($r, true);
-        $image = "<img src=\"".theme_image($this->link, 'plugins/flattr/flattr.png')."\"
+        $image = "<img src=\"plugins/flattr/flattr.png\"
                        class='tagsPic' style=\"cursor : pointer\"
                        title='".__('Flattr this article.')."'>";
         // if Flattr has it in the catalogue, we display the button