CRM-17645 - More consistent function naming
[civicrm-core.git] / Civi / API / SelectQuery.php
index ceea6f5a1d6eecb391c482336b91a15f0995e32b..728f9377a25298ae91d3544c646a85da9a2b80f1 100644 (file)
@@ -518,7 +518,7 @@ class SelectQuery {
     if (count($stack) === 1 && in_array($stack[0], $this->aclFields)) {
       return NULL;
     }
-    $clauses = $baoName::getAclClause($tableAlias);
+    $clauses = $baoName::getSelectWhereClause($tableAlias);
     if (!$stack) {
       // Track field clauses added to the main entity
       $this->aclFields = array_keys($clauses);