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>

salvocambria/xen-api,agimofcarmen/xen-api,cheng-z/xen-api,thomassa/xen-api,rafalmiel/xen-api,jjd27/xen-api,vasilenkomike/xen-api,vasilenkomike/xen-api,salvocambria/xen-api,euanh/xen-api,euanh/xen-api,vasilenkomike/xen-api,djs55/xen-api,koushikcgit/xen-api,srowe/xen-api,ravippandey/xen-api,jjd27/xen-api,salvocambria/xen-api,djs55/xen-api,koushikcgit/xen-api,srowe/xen-api,thomassa/xen-api,guard163/xen-api,koushikcgit/xen-api,djs55/xen-api,guard163/xen-api,rafalmiel/xen-api,salvocambria/xen-api,vasilenkomike/xen-api,agimofcarmen/xen-api,salvocambria/xen-api,rafalmiel/xen-api,robertbreker/xen-api,srowe/xen-api,robertbreker/xen-api,rafalmiel/xen-api,thomassa/xen-api,thomassa/xen-api,djs55/xen-api,anoobs/xen-api,koushikcgit/xen-api,koushikcgit/xen-api,ravippandey/xen-api,ravippandey/xen-api,huizh/xen-api,thomassa/xen-api,huizh/xen-api,cheng-z/xen-api,euanh/xen-api,koushikcgit/xen-api,cheng--zhang/xen-api,cheng-z/xen-api,guard163/xen-api,cheng-z/xen-api,simonjbeaumont/xen-api,simonjbeaumont/xen-api,anoobs/xen-api,salvocambria/xen-api,rafalmiel/xen-api,simonjbeaumont/xen-api,djs55/xen-api,guard163/xen-api,jjd27/xen-api,agimofcarmen/xen-api,robertbreker/xen-api,cheng--zhang/xen-api,Frezzle/xen-api,jjd27/xen-api,euanh/xen-api,rafalmiel/xen-api,euanh/xen-api,robertbreker/xen-api,simonjbeaumont/xen-api,simonjbeaumont/xen-api,simonjbeaumont/xen-api,jjd27/xen-api,srowe/xen-api,guard163/xen-api,cheng-z/xen-api,srowe/xen-api,cheng-z/xen-api,ravippandey/xen-api,anoobs/xen-api,ravippandey/xen-api,ravippandey/xen-api,robertbreker/xen-api,huizh/xen-api,robertbreker/xen-api,djs55/xen-api,huizh/xen-api,Frezzle/xen-api,huizh/xen-api,Frezzle/xen-api,cheng-z/xen-api,cheng--zhang/xen-api,cheng--zhang/xen-api,cheng--zhang/xen-api,agimofcarmen/xen-api,vasilenkomike/xen-api,agimofcarmen/xen-api,agimofcarmen/xen-api,anoobs/xen-api,guard163/xen-api,jjd27/xen-api,Frezzle/xen-api,Frezzle/xen-api,vasilenkomike/xen-api,euanh/xen-api,thomassa/xen-api,huizh/xen-api,anoobs/xen-api,anoobs/xen-api,cheng--zhang/xen-api,cheng--zhang/xen-api