When two or more persons own land adjoining which is inclosed [enclosed] by one fence, and it becomes necessary for the protection of the interest of one party said partition fence should be made between them, the other or others, when notified thereof, shall erect or cause to be erected one-half of such partition fence, said fence to be erected on, or as near as practicable, the line of said land.