OATHUser: Drop getFirstKey()

Bug: T242031
Depends-On: Id57dd0f37a9f90a492770f6a1de3d8a2f96df944
Depends-On: Iad31b9795eca700b15f6233749846f9f8ce5e89b
Change-Id: I7bbf5f54e97a563940fedaf67904730fac918af4
This commit is contained in:
Taavi Väänänen 2023-12-28 12:38:24 +02:00
parent 0dad2c7031
commit 06d3bdafc7
No known key found for this signature in database
GPG key ID: EF242F709F912FBE

View file

@ -87,17 +87,6 @@ class OATHUser {
return $this->keys;
}
/**
* Useful for modules that operate on single-key premise,
* as well as testing the key type, since the first key is(?)
* necessarily the same type as others
*
* @return IAuthKey|null
*/
public function getFirstKey() {
return $this->keys[0] ?? null;
}
/**
* Set the key associated with this user.
*