Merge branch '4.6' of https://github.com/civicrm/civicrm-core
[civicrm-core.git] / bin / ContributionProcessor.php
index 5d007253d6047b318ee95da58a722ad0880d3a2e..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\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