Don't use a deprecated function.
Merge pull request #80 from jordandukart/7.x-1.3

Don't use a deprecated function.