]> git.wh0rd.org - tt-rss.git/blobdiff - plugins/example_feed/init.php
plugins: bump API version
[tt-rss.git] / plugins / example_feed / init.php
index 19d089667152161179d85066187e6dded2b05e44..1d653a9f62183823d6979ac7e21d05901fd6202c 100644 (file)
@@ -23,5 +23,10 @@ class Example_Feed extends Plugin {
                _debug("I'm a little feed short and stout, here's my title: " . $feed->get_title());
                _debug("... here's my link element: " . $feed->get_link());
        }
+
+       function api_version() {
+               return 2;
+       }
+
 }
 ?>