X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=bin%2FContributionProcessor.php;h=ae976e7e9af10dbbf008299519dffd4c99933524;hb=71f7de786e8da429b2e8d630cb3ec1bf02f529e9;hp=5d007253d6047b318ee95da58a722ad0880d3a2e;hpb=30c4c2c577c0c53b93173552b62564bea0c69b68;p=civicrm-core.git diff --git a/bin/ContributionProcessor.php b/bin/ContributionProcessor.php index 5d007253d6..ae976e7e9a 100644 --- a/bin/ContributionProcessor.php +++ b/bin/ContributionProcessor.php @@ -697,7 +697,7 @@ CRM_Utils_System::authenticateScript(TRUE); //log the execution of script CRM_Core_Error::debug_log_message('ContributionProcessor.php'); -$lock = Civi\Core\Container::singleton()->get('lockManager')->acquire('worker.contribute.CiviContributeProcessor'); +$lock = Civi::lockManager()->acquire('worker.contribute.CiviContributeProcessor'); if ($lock->isAcquired()) { // try to unset any time limits