diff options
author | Angelo Naselli <anaselli@linux.it> | 2014-01-06 19:59:29 +0100 |
---|---|---|
committer | Angelo Naselli <anaselli@linux.it> | 2014-01-06 19:59:29 +0100 |
commit | e4abf51415f1871a29f81b2c033fda0cb64a276a (patch) | |
tree | ddca8e169a4c2724bf4257c0955ec035bd35d479 /Category.pm | |
parent | 00950d42d1eaed19349aecfbc3ff2fe34ee7c905 (diff) | |
download | colin-keep-e4abf51415f1871a29f81b2c033fda0cb64a276a.tar colin-keep-e4abf51415f1871a29f81b2c033fda0cb64a276a.tar.gz colin-keep-e4abf51415f1871a29f81b2c033fda0cb64a276a.tar.bz2 colin-keep-e4abf51415f1871a29f81b2c033fda0cb64a276a.tar.xz colin-keep-e4abf51415f1871a29f81b2c033fda0cb64a276a.zip |
- Admin service is now splitted (gui and utility)
- Admin service extends Module
- fixed load modules from categories.conf.d
Diffstat (limited to 'Category.pm')
-rw-r--r-- | Category.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Category.pm b/Category.pm index 69eafc6..7191fab 100644 --- a/Category.pm +++ b/Category.pm @@ -68,9 +68,10 @@ sub new { #============================================================= sub loadModule { my ($self, $module) = @_; - + if (!$self->moduleLoaded($module)) { push ( @{$self->{modules}}, $module ); + return 1; } return 0; |