Permalink
Browse files

MDL-35636 login/token.php: confusing 'create user token' log appearin…

…g before 'token user request'
  • Loading branch information...
mouneyrac committed Sep 26, 2012
1 parent a3ab18c commit 2650c2b03ea2f085c9396b98d5ea0dd3bc7b115f
Showing with 1 addition and 1 deletion.
  1. +1 −1 login/token.php
View
@@ -170,7 +170,7 @@
// 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;

0 comments on commit 2650c2b

Please sign in to comment.