Skip to content

Commit

Permalink
Merge pull request #20937 from civicrm/5.40
Browse files Browse the repository at this point in the history
5.40
  • Loading branch information
eileenmcnaughton authored Jul 23, 2021
2 parents 114d069 + 814bd1f commit 2108bda
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CRM/Contact/BAO/GroupContactCache.php
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,8 @@ public static function loadAll($groupIDs = NULL, $limit = 0) {
$groupIDs = (array) $groupIDs;
}

// Treat the default help text in Scheduled Jobs as equivalent to no limit.
$limit = (int) $limit;
$processGroupIDs = self::getGroupsNeedingRefreshing($groupIDs, $limit);

if (!empty($processGroupIDs)) {
Expand Down
2 changes: 1 addition & 1 deletion install/civicrm.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ function civicrm_main(&$config) {
civicrm_source($dsn, $sqlPath . DIRECTORY_SEPARATOR . 'civicrm.mysql');

if (!empty($config['loadGenerated'])) {
civicrm_source($dsn, $sqlPath . DIRECTORY_SEPARATOR . 'civicrm_generated.mysql', TRUE);
civicrm_source($dsn, $sqlPath . DIRECTORY_SEPARATOR . 'civicrm_generated.mysql');
}
else {
if (isset($config['seedLanguage'])
Expand Down

0 comments on commit 2108bda

Please sign in to comment.