hide example plugins from the admin page
This commit is contained in:
parent
0ac22f29ca
commit
23be0bd3fb
|
@ -675,7 +675,7 @@ class Pref_Prefs extends Handler_Protected {
|
|||
foreach ($tmppluginhost->get_plugins() as $name => $plugin) {
|
||||
$about = $plugin->about();
|
||||
|
||||
if ($about[3]) {
|
||||
if ($about[3] && strpos($name, "example") === FALSE) {
|
||||
if (in_array($name, $system_enabled)) {
|
||||
$checked = "checked='1'";
|
||||
} else {
|
||||
|
@ -711,7 +711,7 @@ class Pref_Prefs extends Handler_Protected {
|
|||
foreach ($tmppluginhost->get_plugins() as $name => $plugin) {
|
||||
$about = $plugin->about();
|
||||
|
||||
if (!$about[3]) {
|
||||
if (!$about[3] && strpos($name, "example") === FALSE) {
|
||||
|
||||
if (in_array($name, $system_enabled)) {
|
||||
$checked = "checked='1'";
|
||||
|
|
Loading…
Reference in New Issue