MDL-39888 mnet: Removed tab and links to the log report.
The link would include parameters which generates warnings on the log report page.
This commit is contained in:
@@ -34,21 +34,12 @@ if (!defined('MOODLE_INTERNAL')) {
|
||||
}
|
||||
|
||||
$strmnetservices = get_string('mnetservices', 'mnet');
|
||||
$strmnetlog = get_string('mnetlog', 'mnet');
|
||||
$strmnetedithost = get_string('reviewhostdetails', 'mnet');
|
||||
|
||||
$logurl = $CFG->wwwroot.
|
||||
'/report/log/index.php?chooselog=1&showusers=1&showcourses=1&host_course='.$mnet_peer->id.
|
||||
'%2F1&user='.'0'.
|
||||
'&date=0'.
|
||||
'&modid=&modaction=0&logformat=showashtml';
|
||||
$tabs = array();
|
||||
if (isset($mnet_peer->id) && $mnet_peer->id > 0) {
|
||||
$tabs[] = new tabobject('mnetdetails', 'peers.php?step=update&hostid='.$mnet_peer->id, $strmnetedithost, $strmnetedithost, false);
|
||||
$tabs[] = new tabobject('mnetservices', 'services.php?hostid='.$mnet_peer->id, $strmnetservices, $strmnetservices, false);
|
||||
if ($mnet_peer->application->name == 'moodle' && $mnet_peer->id != $CFG->mnet_all_hosts_id) {
|
||||
$tabs[] = new tabobject('mnetlog', $logurl, $strmnetlog, $strmnetlog, false);
|
||||
}
|
||||
$tabs[] = new tabobject('mnetprofilefields', 'profilefields.php?hostid=' . $mnet_peer->id, get_string('profilefields', 'mnet'), get_string('profilefields', 'mnet'), false);
|
||||
} else {
|
||||
$tabs[] = new tabobject('mnetdetails', '#', $strmnetedithost, $strmnetedithost, false);
|
||||
|
||||
@@ -6,6 +6,9 @@ information provided here is intended especially for developers.
|
||||
* \core\session\manager::session_exists() now verifies the session is active
|
||||
instead of only checking the session data is present in low level session handler
|
||||
|
||||
* MNet is no longer sending logs between the client and parent sites. auth_plugin_mnet::refresh_log() is now deprecated. There is
|
||||
no alternative. Please don't use this function.
|
||||
|
||||
=== 2.7 ===
|
||||
|
||||
* If you are returning a url in method change_password_url() from config, please make sure it is set before trying to use it.
|
||||
|
||||
@@ -132,7 +132,6 @@ $string['mnetidprovider'] = 'MNet ID provider';
|
||||
$string['mnetidproviderdesc'] = 'You can use this facility to retrieve a link that you can log in at, if you can provide the correct email address to match the username you previously tried to log in with.';
|
||||
$string['mnetidprovidermsg'] = 'You should be able to login at your {$a} provider.';
|
||||
$string['mnetidprovidernotfound'] = 'Sorry, but no further information could be found.';
|
||||
$string['mnetlog'] = 'Logs';
|
||||
$string['mnetpeers'] = 'Peers';
|
||||
$string['mnetservices'] = 'Services';
|
||||
$string['mnet_session_prohibited'] = 'Users from your home server are not currently permitted to roam to {$a}.';
|
||||
|
||||
Reference in New Issue
Block a user