git://git.camperquake.de
/
videosite.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec4c22f
)
Add default "enabled" property
author
Ralf Ertzinger
<ralf@skytale.net>
Wed, 24 Apr 2013 11:32:04 +0000
(13:32 +0200)
committer
Ralf Ertzinger
<ralf@skytale.net>
Wed, 24 Apr 2013 11:32:04 +0000
(13:32 +0200)
videosite/Base.pm
patch
|
blob
|
history
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();