From e4abf51415f1871a29f81b2c033fda0cb64a276a Mon Sep 17 00:00:00 2001 From: Angelo Naselli Date: Mon, 6 Jan 2014 19:59:29 +0100 Subject: - Admin service is now splitted (gui and utility) - Admin service extends Module - fixed load modules from categories.conf.d --- Category.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Category.pm') diff --git a/Category.pm b/Category.pm index 69eafc63..7191fabe 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; -- cgit v1.2.1