Make Finder::tableQuery private, after universe search
authorEileen McNaughton <emcnaughton@wikimedia.org>
Sat, 18 Mar 2023 00:33:41 +0000 (13:33 +1300)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Sat, 18 Mar 2023 00:33:41 +0000 (13:33 +1300)
CRM/Dedupe/BAO/DedupeRuleGroup.php

index e659dc1898dc8eb444131e4778618dd74604bb33..974692ac9a207c9b7f2a81927ac1a88024336bbc 100644 (file)
@@ -139,7 +139,7 @@ class CRM_Dedupe_BAO_DedupeRuleGroup extends CRM_Dedupe_DAO_DedupeRuleGroup {
    * Return a set of SQL queries whose cummulative weights will mark matched
    * records for the RuleGroup::threasholdQuery() to retrieve.
    */
-  public function tableQuery() {
+  private function tableQuery() {
     // make sure we've got a fetched dbrecord, not sure if this is enforced
     if (!$this->name == NULL || $this->is_reserved == NULL) {
       $this->find(TRUE);