Change record status: 
Introduced in branch: 
2.1.x
Introduced in version: 
2.1.1-beta1
Description: 

UserRestrictions::$expiry has been deprecated in the 2.1.x branch and replaced by UserRestrictions::$expiration in the 3.0.x branch.

Code that access the property directly needs to be updated; code that calls UserRestrictionInterface::getExpiry() needs to be changed to call UserRestrictionInterface::getExpiration().

Impacts: 
Module developers
Site templates, recipes and distribution developers