function uc_roles_update_6004 in Ubercart 6.2
Fix an oversight; when upgrading from an older version, we must default any expiration to overridge the global setting... past versions had no override, so it was implicit. Now it needs to be explicit.
File
- uc_roles/
uc_roles.install, line 285 - Install, update and uninstall functions for the uc_roles module.
Code
function uc_roles_update_6004() {
$ret = array();
db_query("UPDATE {uc_roles_products} SET start_override = 1, end_override = 1 WHERE 1 = 1");
return $ret;
}