Merge branch 'MDL-35636' of git://github.com/mouneyrac/moodle

This commit is contained in:
Dan Poltawski 2012-10-02 14:40:23 +08:00
commit 813a7724cf

View file

@ -170,7 +170,7 @@ if (!empty($user)) {
// log token access
$DB->set_field('external_tokens', 'lastaccess', time(), array('id'=>$token->id));
add_to_log(SITEID, 'webservice', 'user request webservice token', '' , 'User ID: ' . $user->id);
add_to_log(SITEID, 'webservice', 'sending requested user token', '' , 'User ID: ' . $user->id);
$usertoken = new stdClass;
$usertoken->token = $token->token;