X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FCore%2FInvoke.php;h=e1fe43347cacaaaec56294fc6ee905f3e4cfa671;hb=b5a104e41f5250de860b532494fd869cbc5a61d5;hp=05a726f43fa808badb1490215509afa566ab2881;hpb=2c5aa21546e84fa2c13b216fcd29e802ebfb2eae;p=civicrm-core.git diff --git a/CRM/Core/Invoke.php b/CRM/Core/Invoke.php index 05a726f43f..e1fe43347c 100644 --- a/CRM/Core/Invoke.php +++ b/CRM/Core/Invoke.php @@ -1,7 +1,7 @@ run(); + if ($secondArg == 'view' || empty($secondArg)) { + $page = new CRM_Profile_Page_Listings(); + return $page->run(); + } + + CRM_Utils_System::permissionDenied(); + return; } /** @@ -489,6 +494,9 @@ class CRM_Core_Invoke { // also cleanup module permissions $config->cleanupPermissions(); + // also rebuild word replacement cache + CRM_Core_BAO_WordReplacement::rebuild(); + CRM_Core_BAO_Setting::updateSettingsFromMetaData(); CRM_Core_Resources::singleton()->resetCacheCode(); @@ -499,7 +507,7 @@ class CRM_Core_Invoke { ) { CRM_Core_DAO::triggerRebuild(); } - + CRM_Core_DAO_AllCoreTables::reinitializeCache(TRUE); CRM_Core_ManagedEntities::singleton(TRUE)->reconcile(); } }