Remove duplicate unset()
Merge pull request #5794 from lucasmichot/4.2-duplicate-unset

[4.2] Factorize double unset()