[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
|
||||
public void handleRemoval() {
|
||||
OAuthClientService oAuthService = this.oAuthService;
|
||||
if (oAuthService != null) {
|
||||
oAuthFactory.deleteServiceAndAccessToken(getThing().toString());
|
||||
}
|
||||
oAuthFactory.deleteServiceAndAccessToken(getThing().toString());
|
||||
super.handleRemoval();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue