function uc_file_update_6003 in Ubercart 6.2
Make sure the quantity is validated.
File
- uc_file/
uc_file.install, line 295 - Install, update and uninstall functions for the uc_file module.
Code
function uc_file_update_6003() {
if (variable_get('uc_file_download_limit_duration_granularity', 'never') != 'never' && variable_get('uc_file_download_limit_duration_qty', NULL) == NULL) {
variable_set('uc_file_download_limit_duration_qty', 1);
}
return array();
}