Commit dd333e57 authored by dawehner's avatar dawehner Committed by tim.plunkett

Clear the Views cache everytime a view is created.

parent fee13c04
......@@ -95,6 +95,9 @@ public function save(StorableInterface $entity) {
$this->invokeHook('insert', $entity);
}
// Clear caches.
views_invalidate_cache();
unset($entity->original);
return $return;
......
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