Deleted obselete upload permissions routine