On completion or cessation of the erection or the demolition of any building where such sheds are no longer necessary for the purpose for which they were erected, they must be removed from the site by the owner.