Issue #2002338 by schiavone, elvis2: Rename Views method add_tag() to addTag().

8.0.x
Alex Pott 2013-05-29 14:00:31 +01:00
parent 365637ac48
commit 6d4116198d
2 changed files with 2 additions and 2 deletions

View File

@ -1055,7 +1055,7 @@ class Sql extends QueryPluginBase {
*
* @see SelectQuery::addTag()
*/
function add_tag($tag) {
public function addTag($tag) {
$this->tags[] = $tag;
}

View File

@ -140,7 +140,7 @@ abstract class RelationshipPluginBase extends HandlerBase {
// 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);
}
}