git://git.camperquake.de
/
videosite.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add default "enabled" property
[videosite.git]
/
videosite
/
Base.pm
diff --git
a/videosite/Base.pm
b/videosite/Base.pm
index
a1cacea
..
11c7fa6
100644
(file)
--- 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();