From 7b6696e1199e44be1275b166ca87721ade75f920 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Wed, 4 Jun 2003 16:52:37 +0000 Subject: [PATCH] fixed missing conf/profiles/groups directory in debian package commented out listGroupProfiles() --- lam/lib/profiles.inc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lam/lib/profiles.inc b/lam/lib/profiles.inc index 13625b8a..c2d4072c 100644 --- a/lam/lib/profiles.inc +++ b/lam/lib/profiles.inc @@ -45,7 +45,8 @@ function getUserProfiles() { // returns an array of String with all available group profiles (without .prg) function getGroupProfiles() { - $dir = dir(substr(__FILE__, 0, strlen(__FILE__) - 17) . "/config/profiles/groups"); +// group profiles are not supported at this time +/* $dir = dir(substr(__FILE__, 0, strlen(__FILE__) - 17) . "/config/profiles/groups"); $ret = array(); $pos = 0; while ($entry = $dir->read()){ @@ -56,7 +57,8 @@ function getGroupProfiles() { $pos ++; } } - return $ret; + return $ret; */ + return array(); } // returns an array of String with all available host profiles (without .prh)