function advpoll_update_7008 in Advanced Poll 7.3
Add session cookie duration.
Throws
File
- ./
advpoll.install, line 875 - Install file for Advanced Poll.
Code
function advpoll_update_7008() {
$t = get_t();
$field = array(
'field_name' => 'advpoll_cookie_duration',
'description' => $t('If the poll\'s voting availability is being controlled by a cookie, this value determine how long to wait between votes in minutes. Use 0 for a session based cookie.'),
'settings' => array(
'min' => '0',
),
);
field_update_field($field);
}