mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-22 06:42:42 +01:00
Remove call to undefined method DoorkeeperDAO::getObjectKey()
Summary: Remove call to undefined static method `DoorKeeperDAO::getObjectKey()` in the `DoorkeeperExternalObject` class. `getObjectKey()` does not exist (and never existed) in any of its parent classes (`DoorkeeperDAO`, `PhabricatorLiskDAO`, `LiskDAO`). Test Plan: Run static code analysis. Grep the source code and check the git history of parent classes. Reviewers: O1 Blessed Committers, valerio.bozzolan Reviewed By: O1 Blessed Committers, valerio.bozzolan Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno Differential Revision: https://we.phorge.it/D25734
This commit is contained in:
parent
0873b36569
commit
a039c4952f
1 changed files with 1 additions and 5 deletions
|
@ -60,11 +60,7 @@ final class DoorkeeperExternalObject extends DoorkeeperDAO
|
|||
}
|
||||
|
||||
public function getObjectKey() {
|
||||
$key = parent::getObjectKey();
|
||||
if ($key === null) {
|
||||
$key = $this->getRef()->getObjectKey();
|
||||
}
|
||||
return $key;
|
||||
return $this->getRef()->getObjectKey();
|
||||
}
|
||||
|
||||
public function getRef() {
|
||||
|
|
Loading…
Reference in a new issue