From b9e38bbb3dbffc4074f32f87445600d5a5985cb7 Mon Sep 17 00:00:00 2001 From: Ralf Ertzinger Date: Wed, 24 Apr 2013 13:32:04 +0200 Subject: [PATCH] Add default "enabled" property --- videosite/Base.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/videosite/Base.pm b/videosite/Base.pm index a1cacea..11c7fa6 100644 --- a/videosite/Base.pm +++ b/videosite/Base.pm @@ -23,6 +23,8 @@ sub new { @_, }; + # Add the 'enabled' property to all modules + $self->{_PARAMS}->{enabled} = [1, 'Whether the module is enabled']; bless($self, $class); $self->_prepare_parameters(); -- 1.8.3.1