Skip to content
Browse files

MDL-35242 Web Services: Removed translation causing error in add_to_log

  • Loading branch information...
1 parent c366bea commit aa578540751385bde731f726c38744228e94026a @FMCorz FMCorz committed Sep 17, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 login/token.php
View
2 login/token.php
@@ -160,7 +160,7 @@
$token->timecreated = time();
$token->externalserviceid = $service_record->id;
$tokenid = $DB->insert_record('external_tokens', $token);
- add_to_log(SITEID, 'webservice', get_string('createtokenforuserauto', 'webservice'), '' , 'User ID: ' . $user->id);
+ add_to_log(SITEID, 'webservice', 'automatically create user token', '' , 'User ID: ' . $user->id);
$token->id = $tokenid;
} else {
throw new moodle_exception('cannotcreatetoken', 'webservice', '', $serviceshortname);

0 comments on commit aa57854

Please sign in to comment.
Something went wrong with that request. Please try again.