summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0e7d806)
raw | patch | inline | side by side (parent: 0e7d806)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 26 Apr 2006 13:04:45 +0000 (13:04 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 26 Apr 2006 13:04:45 +0000 (13:04 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3124 594d385d-05f5-0310-b6e9-bd551577e9d8
include/functions_setup.inc | patch | blob | history |
index d800479f5250d77703252f142527028a348b68ed..a558666355cbac4caf995620808917ba5211362b 100644 (file)
$str = str_replace("mailMethod=\"{MAILMETHOD}\"","",$str);
}
-
/* Remove all unused plugins */
- foreach($possible_plugins as $key=> $plugin) {
- foreach($plugin as $key=>$val) {
- if(in_array($plugin,$classes)) {
+ foreach(array_keys($possible_plugins) as $akey) {
+ if(array_key_exists($akey,$classes)) {
+ foreach($possible_plugins[$akey] as $key=>$val) {
$str = preg_replace($val,"\n",$str);
}
}