Merge pull request #21467 from sunilpawar/dev_2833
[civicrm-core.git] / CRM / Core / ManagedEntities.php
index ff9ae5268ef103eaa9c75d2d311e2f03c0b6788d..8e563635241e2375425aea8a2b22b83bee7bedc0 100644 (file)
@@ -116,14 +116,10 @@ class CRM_Core_ManagedEntities {
    * existing entities, and remove orphaned (stale) entities.
    *
    * @param bool $ignoreUpgradeMode
-   *
+   *   Unused.
    * @throws \CRM_Core_Exception
    */
   public function reconcile($ignoreUpgradeMode = FALSE) {
-    // Do not reconcile whilst we are in upgrade mode
-    if (CRM_Core_Config::singleton()->isUpgradeMode() && !$ignoreUpgradeMode) {
-      return;
-    }
     $this->loadDeclarations();
     if ($error = $this->validate($this->getDeclarations())) {
       throw new CRM_Core_Exception($error);