Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit f3d73474fee9d01f987dc2b30dfe18d9e90ca5d7 1 parent f9a8571
@FMCorz FMCorz authored
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);
Please sign in to comment.
Something went wrong with that request. Please try again.