From 1437f036b1f278b10b4476f99abf9921e99dfbbb Mon Sep 17 00:00:00 2001
From: Zach Schmid <zach@schmid.me>
Date: Mon, 27 May 2013 00:08:20 -0400
Subject: [PATCH] Issue #2002350 by IshaDakota | heddn: Rename Views method
 aggregation_method_distinct() to
 aggregationMethodDistinct().

---
 core/modules/views/lib/Drupal/views/Plugin/views/query/Sql.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/query/Sql.php b/core/modules/views/lib/Drupal/views/Plugin/views/query/Sql.php
index 3f7c8bd..41e5cf8 100644
--- a/core/modules/views/lib/Drupal/views/Plugin/views/query/Sql.php
+++ b/core/modules/views/lib/Drupal/views/Plugin/views/query/Sql.php
@@ -1732,7 +1732,7 @@ function aggregation_method_simple($group_type, $field) {
     return strtoupper($group_type) . '(' . $field . ')';
   }
 
-  function aggregation_method_distinct($group_type, $field) {
+  public function aggregationMethodDistinct($group_type, $field) {
     $group_type = str_replace('_distinct', '', $group_type);
     return strtoupper($group_type) . '(DISTINCT ' . $field . ')';
   }
-- 
1.7.11.1

