mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/OATHAuth
synced 2024-11-13 18:16:56 +00:00
Add caller when running query builder
Change-Id: I5df6eb6453938b599494e899964b3540efdba1f9
This commit is contained in:
parent
4f203a25bc
commit
20765f5b64
|
@ -221,6 +221,7 @@ class OATHUserRepository implements LoggerAwareInterface {
|
||||||
->table( 'oathauth_devices' )
|
->table( 'oathauth_devices' )
|
||||||
->set( [ 'oad_data' => FormatJson::encode( $key->jsonSerialize() ) ] )
|
->set( [ 'oad_data' => FormatJson::encode( $key->jsonSerialize() ) ] )
|
||||||
->where( [ 'oad_user' => $userId, 'oad_id' => $keyId ] )
|
->where( [ 'oad_user' => $userId, 'oad_id' => $keyId ] )
|
||||||
|
->caller( __METHOD__ )
|
||||||
->execute();
|
->execute();
|
||||||
|
|
||||||
$this->logger->info( 'OATHAuth key {keyId} updated for {user}', [
|
$this->logger->info( 'OATHAuth key {keyId} updated for {user}', [
|
||||||
|
|
Loading…
Reference in a new issue