summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 42cd560)
raw | patch | inline | side by side (parent: 42cd560)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 30 Jan 2008 13:32:00 +0000 (13:32 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 30 Jan 2008 13:32:00 +0000 (13:32 +0000) |
-Skip checking xdmcp server settings when inherit is selected.
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8662 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8662 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/goto/admin/systems/goto/class_terminalService.inc | patch | blob | history |
diff --git a/gosa-plugins/goto/admin/systems/goto/class_terminalService.inc b/gosa-plugins/goto/admin/systems/goto/class_terminalService.inc
index 714c65131756f43e64a65221a33d5741a9f68cff..77f82df88c50f97ee6261835e148ef68cb2d2587 100644 (file)
/* Call common method to give check the hook */
$message= plugin::check();
- $xdmcp_types = $this->config->data['SERVERS']['TERMINAL_SESSION_TYPES'];
- $available_servers = array();
- if(isset($xdmcp_types[strtoupper($this->gotoXMethod)])){
- $available_servers = $xdmcp_types[strtoupper($this->gotoXMethod)];
- }
- foreach($this->selected_xdmcp_servers as $server){
- if(!in_array($server,$available_servers)){
- $message[] = _("Remote desktop settings contains servers that do not support the selected connection method.");
- break;
+ if($this->gotoXMethod != "default"){
+ $xdmcp_types = $this->config->data['SERVERS']['TERMINAL_SESSION_TYPES'];
+ $available_servers = array();
+ if(isset($xdmcp_types[strtoupper($this->gotoXMethod)])){
+ $available_servers = $xdmcp_types[strtoupper($this->gotoXMethod)];
+ }
+ foreach($this->selected_xdmcp_servers as $server){
+ if(!in_array($server,$available_servers)){
+ $message[] = _("Remote desktop settings contains servers that do not support the selected connection method.");
+ break;
+ }
}
}