Add default "enabled" property
authorRalf Ertzinger <ralf@skytale.net>
Wed, 24 Apr 2013 11:32:04 +0000 (13:32 +0200)
committerRalf Ertzinger <ralf@skytale.net>
Wed, 24 Apr 2013 11:32:04 +0000 (13:32 +0200)
videosite/Base.pm

index a1cacea..11c7fa6 100644 (file)
@@ -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();