i dont even think she learned magic from teh old man. if you read it it seems everyone is surprised that he was using magic and he says something to the effect of no longer doing it.
all he did was tell ezra that if you believe you can use magic, you can.