mnet MDL-21260 transform single_button first param into new moodle_url

This commit is contained in:
jerome mouneyrac
2010-01-28 07:25:42 +00:00
parent 8b21f949cf
commit df94bb99eb
+1 -1
View File
@@ -46,7 +46,7 @@
$SESSION->mnet_confirm_delete_key = md5(sha1($MNET->keypair['keypair_PEM'])).':'.time();
$formcontinue = new single_button(new moodle_url('index.php', array('confirm' => md5($MNET->public_key))), get_string('yes'));
$formcancel = new single_button('index.php', get_string('no'), 'get');
$formcancel = new single_button(new moodle_url('index.php', array()), get_string('no'));
echo $OUTPUT->confirm(get_string("deletekeycheck", "mnet"), $formcontinue, $formcancel);
exit;
} else {