$this->dieUsageMsg(array('toofewexpiries', count($expiry), count($params['protections'])));
}
- $restrictionTypes = $titleObj->getProtectionTypes();
+ $restrictionTypes = $titleObj->getRestrictionTypes();
$protections = array();
$expiryarray = array();