function userpoints_expiry_dates in User Points 7
Same name and namespace in other branches
- 7.2 userpoints.module \userpoints_expiry_dates()
returns an array of possible expiry times to the administrative settings page
1 call to userpoints_expiry_dates()
- userpoints_admin_settings in ./
userpoints.admin.inc - Menu callback for settings form.
File
- ./
userpoints.module, line 1524
Code
function userpoints_expiry_dates() {
return array(
NULL => 'Never',
3600 => 'One hour',
86400 => 'One Day',
604800 => 'One Week',
1209600 => 'Two Weeks',
2419200 => 'Four Weeks',
31536000 => '365 Days',
);
}