Skip to content
Browse files

mnet MDL-16522 missed a check - should not show logs tab for all host…

…s screen merged from HEAD
  • Loading branch information...
1 parent d6f826c commit 990ecc4694700609ad9105bfb836c68b2c870bfb @danmarsden danmarsden committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 admin/mnet/tabs.php
View
2 admin/mnet/tabs.php
@@ -18,7 +18,7 @@
$tabs[] = new tabobject('mnetdetails', 'peers.php?step=update&hostid='.$mnet_peer->id, $strmnetedithost, $strmnetedithost, false);
$tabs[] = new tabobject('mnetservices', 'mnet_services.php?step=list&hostid='.$mnet_peer->id, $strmnetservices, $strmnetservices, false);
$tabs[] = new tabobject('mnetthemes', 'mnet_themes.php?step=list&hostid='.$mnet_peer->id, $strmnetthemes, $strmnetthemes, false);
- if ($mnet_peer->application->name == 'moodle') {
+ if ($mnet_peer->application->name == 'moodle' && $mnet_peer->id != $CFG->mnet_all_hosts_id) {
$tabs[] = new tabobject('mnetlog', $logurl, $strmnetlog, $strmnetlog, false);
}
} else {

0 comments on commit 990ecc4

Please sign in to comment.
Something went wrong with that request. Please try again.