From ec8a4ff4a7085058dd8ff0c3ebaa2f30f693a2ba Mon Sep 17 00:00:00 2001
From: schiavone <daniel@snakehill.net>
Date: Fri, 24 May 2013 14:11:23 -0700
Subject: [PATCH 3/3] Commit for issue http://drupal.org/node/2002338 to
 Rename Views method add_tag() to addTag()

---
 .../lib/Drupal/views/Plugin/views/query/Sql.php    |    2 +-
 .../views/relationship/RelationshipPluginBase.php  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

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..f0cb46a 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
@@ -1055,7 +1055,7 @@ function get_field_alias($table_alias, $field) {
    *
    * @see SelectQuery::addTag()
    */
-  function add_tag($tag) {
+  function addTag($tag) {
     $this->tags[] = $tag;
   }
 
diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/relationship/RelationshipPluginBase.php b/core/modules/views/lib/Drupal/views/Plugin/views/relationship/RelationshipPluginBase.php
index 7041205..89735a0 100644
--- a/core/modules/views/lib/Drupal/views/Plugin/views/relationship/RelationshipPluginBase.php
+++ b/core/modules/views/lib/Drupal/views/Plugin/views/relationship/RelationshipPluginBase.php
@@ -140,7 +140,7 @@ public function query() {
     // Add access tags if the base table provide it.
     if (empty($this->query->options['disable_sql_rewrite']) && isset($table_data['table']['base']['access query tag'])) {
       $access_tag = $table_data['table']['base']['access query tag'];
-      $this->query->add_tag($access_tag);
+      $this->query->addTag($access_tag);
     }
   }
 
-- 
1.7.9.5

