summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 609c09a)
raw | patch | inline | side by side (parent: 609c09a)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 17 Jul 2006 08:26:52 +0000 (08:26 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 17 Jul 2006 08:26:52 +0000 (08:26 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4176 594d385d-05f5-0310-b6e9-bd551577e9d8
include/class_userinfo.inc | patch | blob | history |
index d7c1fec4b15d5f28ee4f59662e7094d5f40ec070..447b0016c42c9779e64c595ef3b96e613a345b39 100644 (file)
/* Extract all relevant objects for this module from plist */
foreach ($plist->info as $object => $info){
- if (isset($info['plDepends']['objectClass']) && $info['plDepends']['objectClass'] == $module){
- $objects[$object]= $object;
+ foreach ($info['plCategory'] as $idx => $data){
+ if (preg_match('/^[0-9]+$/', $idx)){
+ if ($data == $module){
+ $objects[$object]= $object;
+ }
+ } else {
+ if ($idx == $module){
+ $objects[$object]= $object;
+ }
+ }
}
}