Remove duplicate check
Merge pull request #5432 from lucasmichot/4.2-session-store-oldinput

[4.2] Session : Remove duplicate check for getOldInput