X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=install%2Findex.php;h=c1a0e0692f3de8864f127aad23b9bf5164bf088e;hb=4f20f3561770ecd53fd58bdb8d001961d1b8a50d;hp=8272ac4bd1c88e3b399d4e146ef68a1ef7f522dc;hpb=3cf233b8cad8e94de3242055962c5d218a48bed4;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)');