]> git.wh0rd.org - tt-rss.git/blobdiff - update.php
more work on user-selectable plugins; properly process system and user plugins
[tt-rss.git] / update.php
index 7bf6807ffb4b2145a59a32d3c92125e8d96f4b46..2e06565a42773bd6efa4442f079c43a64cb7e54b 100755 (executable)
 
        if (in_array("-list-plugins", $op)) {
                $tmppluginhost = new PluginHost($link);
-               $tmppluginhost->load_all();
+               $tmppluginhost->load_all($tmppluginhost::KIND_ALL);
                foreach ($tmppluginhost->get_plugins() as $name => $plugin) {
-                       $about = $plugin->_about();
+                       $about = $plugin->about();
 
                        printf("%-60s - v%.2f (by %s)\n%s\n\n",
                                $name, $about[0], $about[2], $about[1]);