]> 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 7fdda5fff39cf00d77b494752aa27c22a8ecef54..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;
 
@@ -202,10 +209,8 @@ class Updater extends Plugin {
 
                        $directories = array(
                                CACHE_DIR,
-                               CACHE_DIR . "/htmlpurifier",
                                CACHE_DIR . "/export",
                                CACHE_DIR . "/images",
-                               CACHE_DIR . "/magpie",
                                CACHE_DIR . "/simplepie",
                                ICONS_DIR,
                                LOCK_DIRECTORY);