projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
CRM-20432: Change Membership status to current when related contribution payment...
[civicrm-core.git]
/
CRM
/
Logging
/
Schema.php
diff --git
a/CRM/Logging/Schema.php
b/CRM/Logging/Schema.php
index b34806019f3c6ef12625fe64d576bae0e440873a..4551b89a64f6bae1c2e7bb56bc9500cb755fc256 100644
(file)
--- a/
CRM/Logging/Schema.php
+++ b/
CRM/Logging/Schema.php
@@
-934,4
+934,16
@@
COLS;
return array_intersect($tables, $this->tables);
}
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();
+ }
+
}
}