MDL-59992 webservice: fix debugging message event context already set

This commit is contained in:
Marina Glancy
2017-08-31 12:14:01 +08:00
parent 5e7cb19d97
commit a0aac0bd6b
-2
View File
@@ -890,7 +890,6 @@ abstract class webservice_server implements webservice_server_interface {
}
$loginfaileddefaultparams = array(
'context' => context_system::instance(),
'other' => array(
'method' => $this->authmethod,
'reason' => null
@@ -1039,7 +1038,6 @@ abstract class webservice_server implements webservice_server_interface {
global $DB;
$loginfaileddefaultparams = array(
'context' => context_system::instance(),
'other' => array(
'method' => $this->authmethod,
'reason' => null