The owner of any lot or tract of land within the corporate limits of the City of Savannah shall be primarily liable to any person injured by reason of any defect in or obstruction on the sidewalk bordering his property whenever the defect or obstruction is caused by the owner or person in possession, or wherever the defect is not caused by the owner or person in possession, but such defect has been previously brought to the attention of the owner, his agent or the person in possession of said property, or where such defect remains unrepaired for such a period of time as would make the City liable; and whenever the Mayor and Aldermen of the City of Savannah are sued in such cases they shall vouch into court the owner of such property, and said owner shall be liable to the City for the amount of judgment obtained in such suit against the City.