In case of water shortage or scarcity, the mayor and council may by resolution place any restrictions upon the use of water for irrigation or sprinkler purposes which such body deems necessary.