Removed unused function get_edit_link