mnesia: removed duplicated code
mnesia: removed duplicated code

tectronics/scalaris,seyyed/scalaris,tectronics/scalaris,digshock/scalaris,digshock/scalaris,seyyed/scalaris,seyyed/scalaris,digshock/scalaris,tectronics/scalaris,tectronics/scalaris,digshock/scalaris,seyyed/scalaris,tectronics/scalaris,digshock/scalaris,digshock/scalaris,seyyed/scalaris,tectronics/scalaris,tectronics/scalaris,digshock/scalaris,seyyed/scalaris,seyyed/scalaris