You are here

function imageinfo_cache_update_6200 in Imageinfo Cache 6.2

Update 6200 - Flush the menu cache.

File

./imageinfo_cache.install, line 79
Handles Imageinfo Cache installation and upgrade tasks.

Code

function imageinfo_cache_update_6200() {
  $ret = array();

  // Flush menu cache.
  if (menu_rebuild()) {
    $ret[] = array(
      'success' => TRUE,
      'query' => 'Menu cache rebuilt.',
    );
  }
  return $ret;
}