diff options
author | Andrew Dolgov <[email protected]> | 2015-08-11 23:28:41 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2015-08-11 23:28:42 +0300 |
commit | b87744534a5250e9f839997f8eceb5b86b8c0e5c (patch) | |
tree | a0d106ac1cff35f1b65e0c2bd0b00bd511155780 /classes/pref/prefs.php | |
parent | ad9928a5cb50bfd9cddce5e68efcc843a9a30288 (diff) |
add plugin-based filter actions (see example plugin in attic)
bump schema
Diffstat (limited to 'classes/pref/prefs.php')
-rw-r--r-- | classes/pref/prefs.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/pref/prefs.php b/classes/pref/prefs.php index fe88218ba..41dc536f5 100644 --- a/classes/pref/prefs.php +++ b/classes/pref/prefs.php @@ -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'"; |