From b432e9ac4846ef49282856343656fe9c71e394af Mon Sep 17 00:00:00 2001
From: Zach Schmid <zach@schmid.me>
Date: Sun, 26 May 2013 23:50:37 -0400
Subject: [PATCH] Issue #2002270 by phenaproxima | benjifisher: Rename Views
 method add_having() to addHaving().

---
 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..ba7a500 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
@@ -915,7 +915,7 @@ function add_where_expression($group, $snippet, $args = array()) {
    *
    * @see SelectQueryInterface::havingCondition()
    */
-  function add_having($group, $field, $value = NULL, $operator = NULL) {
+  public function addHaving($group, $field, $value = NULL, $operator = NULL) {
     // Ensure all variants of 0 are actually 0. Thus '', 0 and NULL are all
     // the default group.
     if (empty($group)) {
-- 
1.7.11.1

