[myq] Small change in handleRemoval (#14974)
Follow-up #14938 Signed-off-by: Laurent Garnier <lg.hc@free.fr>
This commit is contained in:
parent
6cd10a771e
commit
762fa36415
@ -170,10 +170,7 @@ public class MyQAccountHandler extends BaseBridgeHandler implements AccessTokenR
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void handleRemoval() {
|
public void handleRemoval() {
|
||||||
OAuthClientService oAuthService = this.oAuthService;
|
oAuthFactory.deleteServiceAndAccessToken(getThing().toString());
|
||||||
if (oAuthService != null) {
|
|
||||||
oAuthFactory.deleteServiceAndAccessToken(getThing().toString());
|
|
||||||
}
|
|
||||||
super.handleRemoval();
|
super.handleRemoval();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user