You are here

function commerce_sermepa_update_7102 in Commerce sermepa 7

Clear the cache for the new settings.

File

./commerce_sermepa.install, line 77
Install, update and uninstall functions for the Commerce Sermepa module.

Code

function commerce_sermepa_update_7102() {

  // Reset payment methods values.
  commerce_payment_methods_reset();

  // Clear rules config cache.
  entity_get_controller('rules_config')
    ->resetCache();

  // Rebuild menus.
  variable_set('menu_rebuild_needed', TRUE);
}