function registration_update_7103 in Entity Registration 8
Same name and namespace in other branches
- 7.2 registration.install \registration_update_7103()
- 7 registration.install \registration_update_7103()
Change multiple_registrations settings name to multiple_slots.
File
- ./
registration.install, line 494 - Schema and installation hooks for registration module.
Code
function registration_update_7103(&$sandbox) {
$sql = "UPDATE {registration_entity} SET settings = REPLACE(settings, 'multiple_registrations', 'multiple_slots')";
db_query($sql);
}