Commit 3eead93c authored by tim.plunkett's avatar tim.plunkett

Switch to the new state API for menu_rebuild_needed.

parent 7d58ca32
......@@ -1024,7 +1024,7 @@ function views_invalidate_cache() {
cache_invalidate(array('content' => TRUE));
// Set the menu as needed to be rebuilt.
variable_set('menu_rebuild_needed', TRUE);
state()->set('menu_rebuild_needed', TRUE);
// Allow modules to respond to the Views cache being cleared.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment