X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=install%2Findex.php;h=c1a0e0692f3de8864f127aad23b9bf5164bf088e;hb=5ee601523c5b6a0a15975f8f08e47245fe013dff;hp=8272ac4bd1c88e3b399d4e146ef68a1ef7f522dc;hpb=ded61c7b971b6d2ea6abd540eafafcb93c697c54;p=civicrm-core.git diff --git a/install/index.php b/install/index.php index 8272ac4bd1..c1a0e0692f 100644 --- a/install/index.php +++ b/install/index.php @@ -1121,8 +1121,8 @@ class Installer extends InstallRequirements { // now enable civicrm module. module_enable(array('civicrm', 'civicrmtheme')); - // clear block and page cache, to make sure civicrm link is present in navigation block - cache_clear_all(); + // clear block, page, theme, and hook caches + drupal_flush_all_caches(); //add basic drupal permissions civicrm_install_set_drupal_perms(); @@ -1183,8 +1183,8 @@ class Installer extends InstallRequirements { // now enable civicrm module. module_enable(array('civicrm')); - // clear block and page cache, to make sure civicrm link is present in navigation block - cache_clear_all(); + // clear block, page, theme, and hook caches + drupal_flush_all_caches(); //add basic drupal permissions db_query('UPDATE {permission} SET perm = CONCAT( perm, \', access CiviMail subscribe/unsubscribe pages, access all custom data, access uploaded files, make online contributions, profile create, profile edit, profile view, register for events, view event info\') WHERE rid IN (1, 2)');