CRM-16373 - Bootstrap subsystems in more predictable order
[civicrm-core.git] / bin / ContributionProcessor.php
index 538ac0dfd4aa2d90428deb2a265b35421a0c2092..ae976e7e9af10dbbf008299519dffd4c99933524 100644 (file)
@@ -697,7 +697,7 @@ CRM_Utils_System::authenticateScript(TRUE);
 //log the execution of script
 CRM_Core_Error::debug_log_message('ContributionProcessor.php');
 
-$lock = Civi::service('lockManager')->acquire('worker.contribute.CiviContributeProcessor');
+$lock = Civi::lockManager()->acquire('worker.contribute.CiviContributeProcessor');
 
 if ($lock->isAcquired()) {
   // try to unset any time limits