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

This commit is contained in:
Marina Glancy 2017-08-31 12:13:15 +08:00
parent 9eb3c173ae
commit e25ccd58c1

View File

@ -913,7 +913,6 @@ abstract class webservice_server implements webservice_server_interface {
}
$loginfaileddefaultparams = array(
'context' => context_system::instance(),
'other' => array(
'method' => $this->authmethod,
'reason' => null
@ -1062,7 +1061,6 @@ abstract class webservice_server implements webservice_server_interface {
global $DB;
$loginfaileddefaultparams = array(
'context' => context_system::instance(),
'other' => array(
'method' => $this->authmethod,
'reason' => null