mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-25 14:55:55 +01:00
[groupepsa] Small change in handleRemoval (#14977)
Follow-up #14943 Signed-off-by: Laurent Garnier <lg.hc@free.fr>
This commit is contained in:
parent
cc6ecb4372
commit
b4551c365a
@ -143,9 +143,7 @@ public class GroupePSABridgeHandler extends BaseBridgeHandler {
|
||||
|
||||
@Override
|
||||
public void handleRemoval() {
|
||||
if (oAuthService != null) {
|
||||
oAuthFactory.deleteServiceAndAccessToken(thing.getUID().getAsString());
|
||||
}
|
||||
oAuthFactory.deleteServiceAndAccessToken(thing.getUID().getAsString());
|
||||
super.handleRemoval();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user