Skip to content

Commit

Permalink
Merge pull request #31321 from civicrm/5.79
Browse files Browse the repository at this point in the history
5.79
  • Loading branch information
seamuslee001 authored Oct 18, 2024
2 parents 05e0e5c + 009c20f commit 12cd744
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CRM/Utils/File.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ public static function cleanDir(string $target, bool $rmdir = TRUE, bool $verbos
}
}
elseif (is_dir($object)) {
CRM_Utils_File::cleanDir($object, TRUE, $verbose);
CRM_Utils_File::cleanDir($object, $rmdir, $verbose);
}
elseif (is_file($object)) {
CRM_Utils_File::try_unlink($object, "file");
Expand Down
2 changes: 1 addition & 1 deletion ext/eventcart/eventcart.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function eventcart_civicrm_config(&$config) {
return;
}
Civi::$statics[__FUNCTION__] = 1;
Civi::dispatcher()->addListener('hook_civicrm_pageRun', 'CRM_Event_Cart_PageCallback::run');
Civi::dispatcher()->addListener('hook_civicrm_pageRun', ['CRM_Event_Cart_PageCallback', 'run']);

_eventcart_civix_civicrm_config($config);
}
Expand Down

0 comments on commit 12cd744

Please sign in to comment.