]> git.wh0rd.org - tt-rss.git/blobdiff - plugins/updater/updater.php
more work on user-selectable plugins; properly process system and user plugins
[tt-rss.git] / plugins / updater / updater.php
index 0aee1ba79835cefd52db03975da268be10a341bb..1dbd5ab6641054a96c0224dd7c26234c8c4403a7 100644 (file)
@@ -4,7 +4,14 @@ class Updater extends Plugin {
        private $link;
        private $host;
 
-       function __construct($host) {
+       function about() {
+               return array(1.0,
+                       "Updates tt-rss installation to latest version.",
+                       "fox",
+                       true);
+       }
+
+       function init($host) {
                $this->link = $host->get_link();
                $this->host = $host;