]> git.wh0rd.org - tt-rss.git/blobdiff - classes/pref/prefs.php
add plugin-based filter actions (see example plugin in attic)
[tt-rss.git] / classes / pref / prefs.php
index fe88218ba5bc5b45d4f984c85f4b062553116695..41dc536f500e1a903853720fee45ed30d40b3ecf 100644 (file)
@@ -752,7 +752,7 @@ class Pref_Prefs extends Handler_Protected {
                foreach ($tmppluginhost->get_plugins() as $name => $plugin) {
                        $about = $plugin->about();
 
-                       if ($about[3] && strpos($name, "example") === FALSE) {
+                       if ($about[3]) {
                                if (in_array($name, $system_enabled)) {
                                        $checked = "checked='1'";
                                } else {
@@ -802,7 +802,7 @@ class Pref_Prefs extends Handler_Protected {
                foreach ($tmppluginhost->get_plugins() as $name => $plugin) {
                        $about = $plugin->about();
 
-                       if (!$about[3] && strpos($name, "example") === FALSE) {
+                       if (!$about[3]) {
 
                                if (in_array($name, $system_enabled)) {
                                        $checked = "checked='1'";