[PDI-11024] Removes a method which should not have been checked into the code. Was fixed on master but not on 3.6.