CRM-15078: make sure logging schema is updated on extension installation
authorDavid Knoll <david@davidknoll.me.uk>
Sun, 11 Oct 2015 11:18:35 +0000 (12:18 +0100)
committerDavid Knoll <david@davidknoll.me.uk>
Sun, 11 Oct 2015 11:18:35 +0000 (12:18 +0100)
CRM/Extension/Manager.php

index 1209258642833d772e2fd01c1c98c02772392c69..cdeb14eb048fa2cd058482ad294ed78e6d87c845 100644 (file)
@@ -244,6 +244,8 @@ class CRM_Extension_Manager {
     $this->statuses = NULL;
     $this->mapper->refresh();
     CRM_Core_Invoke::rebuildMenuAndCaches(TRUE);
+    $schema = new CRM_Logging_Schema();
+    $schema->fixSchemaDifferences();
 
     foreach ($keys as $key) {
       list ($info, $typeManager) = $this->_getInfoTypeHandler($key); // throws Exception