[PLAT-5487] Deleting function that was used only for testing