[wellwell-devel] [wellwell] Fix wrong field name in WellWell::Core::plugin_scan_sub.
Stefan Hornburg
wellwell-devel at rt.icdevgroup.org
Thu Oct 14 13:47:17 UTC 2010
commit 81ad2ddc634f65257d3a3b5230085c16f3f11953
Author: Stefan Hornburg (Racke) <racke at linuxia.de>
Date: Wed Oct 13 15:32:47 2010 +0200
Fix wrong field name in WellWell::Core::plugin_scan_sub.
lib/WellWell/Core.pm | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/lib/WellWell/Core.pm b/lib/WellWell/Core.pm
index c718ce7..20d1c16 100644
--- a/lib/WellWell/Core.pm
+++ b/lib/WellWell/Core.pm
@@ -59,11 +59,11 @@ sub plugin_scan_sub {
for my $plugin (plugins()) {
if (exists $plref->{$plugin}) {
- if ($plref->{$plugin}->{status} eq 0) {
+ if ($plref->{$plugin}->{active} eq 0) {
Vend::Config::config_error("Plugin $plugin used in PLUGIN variable is explicitly disabled in plugins table.");
return;
}
- elsif (! defined($plref->{$plugin}->{status})) {
+ elsif (! defined($plref->{$plugin}->{active})) {
Vend::Config::config_warn("Enabling plugin $plugin in plugins table.");
plugin_enable($dbif, $plugin);
}
More information about the wellwell-devel
mailing list