summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsacksick2013-07-09 21:14:51 (GMT)
committer Jonathan Sacksick2013-07-22 14:46:53 (GMT)
commit06f54a4ad2fc1d9f80e613181b75b1852cd56f09 (patch)
treecf7a8ee1020c8dae776e10a4741f21076c7910af
parentd2cc76073127a703fb035586cdb3dd16826b1812 (diff)
Issue #1840726: Automatically update taxonomy menu after adding new terms.
Change-Id: Ieb9706b732edaf51d6a14626153e9b48c0c363c9 Reviewed-on: https://code.drupalcommerce.org/718 Tested-by: JenkinsCG <jenkins@drupalcommerce.org> Reviewed-by: Jonathan Sacksick <jonathan.sacksick@gmail.com>
-rw-r--r--commerce_kickstart.install_callbacks.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/commerce_kickstart.install_callbacks.inc b/commerce_kickstart.install_callbacks.inc
index bb27b40..e6e17ea 100644
--- a/commerce_kickstart.install_callbacks.inc
+++ b/commerce_kickstart.install_callbacks.inc
@@ -191,6 +191,8 @@ function _commerce_kickstart_taxonomy_menu($operation, &$context) {
variable_set($variable_name, 'commerce_kickstart_taxonomy_term_path');
$variable_name = _taxonomy_menu_build_variable('rebuild', $collection->vid);
variable_set($variable_name, 1);
+ $variable_name = _taxonomy_menu_build_variable('sync', $collection->vid);
+ variable_set($variable_name, 1);
}
}