You are here

function _commerce_file_license_property_ip_current in Commerce File 7

Current Callback for License IP Addresses

2 calls to _commerce_file_license_property_ip_current()
_commerce_file_license_property_ip_check_access in ./commerce_file.commerce.inc
Check Callback for License IP Addresses
_commerce_file_license_property_ip_remaining in ./commerce_file.commerce.inc
Remaining Callback for License IP Addresses
1 string reference to '_commerce_file_license_property_ip_current'
commerce_file_commerce_file_license_info in ./commerce_file.commerce.inc
Implements hook_commerce_file_license_info().

File

./commerce_file.commerce.inc, line 188
Implementations of Commerce Hooks

Code

function _commerce_file_license_property_ip_current($license) {
  return count($license->addresses);
}