CRM-20432: Change Membership status to current when related contribution payment...
[civicrm-core.git] / CRM / Logging / Schema.php
index b34806019f3c6ef12625fe64d576bae0e440873a..4551b89a64f6bae1c2e7bb56bc9500cb755fc256 100644 (file)
@@ -934,4 +934,16 @@ COLS;
     return array_intersect($tables, $this->tables);
   }
 
+  /**
+   * Retrieve missing log tables.
+   *
+   * @return array
+   */
+  public function getMissingLogTables() {
+    if ($this->tablesExist()) {
+      return array_diff($this->tables, array_keys($this->logs));
+    }
+    return array();
+  }
+
 }