[BUGFIX] Remove superfluous code

This fix removes two lines in the RecordTab
which weren't used and caused PHP warnings

Resolves: #57340