In any case where there shall be a dividing fence between two lots or part lots, in said City, which may require repair, the party refusing to pay his just proportion of expenditure for any necessary repair made by the other party for the benefit of both, may be compelled to pay such proportion at the suit and on the recovery of such other party before any court of competent jurisdiction; provided, it be shown on the trial that the said refusing party was duly notified of the necessity of such repair, and by himself or his agent, declined to pay said proportion.