You are here

function commerce_registration_update_7202 in Commerce Registration 7.2

Disable new default commerce_registration rules for existing implementations.

File

./commerce_registration.install, line 79
Commerce Registration install file.

Code

function commerce_registration_update_7202() {
  variable_set('enable_commerce_registration_delete_rules', FALSE);
  return t("One new default Commerce Registration rule has been added. The rule deletes all registrations associated with a line item that is being deleted. The rule has been disabled by default to not interfere with existing order and registration workflows, but you may enable them through your rules admin UI.");
}