Like Princess says, it’s passive voice. The meaning is “someone told me (something)”. Since “someone” is semantically light (i.e., it doesn’t tell us any useful information), it’s better to leave it out by using the passive voice, “I was told.” Note that most European languages can only form the passive by using the direct object as the subject: “Something was told to me”, but in English, both ways are possible. (Usually, we want the subject of the sentence to be a person, since we’re anthropocentric (I was tempted to say “homocentric”, but that has an entirely different meaning.)) By the way, Ramin, congratulations on your move to Toronto — a beautiful city, even if the weather is a little harsh for my taste.