SR.forget and SR.destroy made calls directly to Db.PBD.destroy. This undermined the secret-related clean-up performed in Xapi_pbd.destroy.
SR.forget and SR.destroy made calls directly to Db.PBD.destroy.
This undermined the secret-related clean-up performed in Xapi_pbd.destroy.

Signed-off-by: Magnus Therning <d563053cb0ea35046fc6d1a4be0e7fe773f2d276@citrix.com>

djs55/squeezed,robhoes/squeezed,koushikcgit/xcp-rrdd,johnelse/xcp-rrdd,sharady/xcp-networkd,sharady/xcp-networkd,djs55/xcp-rrdd,johnelse/xcp-rrdd,simonjbeaumont/xcp-rrdd,koushikcgit/xcp-networkd,simonjbeaumont/xcp-rrdd,koushikcgit/xcp-rrdd,djs55/xcp-networkd,koushikcgit/xcp-rrdd,koushikcgit/xcp-networkd,djs55/xcp-rrdd,djs55/xcp-networkd