removing call to deprecated method of YFF