Commit 6d411619 authored by alexpott's avatar alexpott

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

parent 365637ac
......@@ -1055,7 +1055,7 @@ function get_field_alias($table_alias, $field) {
*
* @see SelectQuery::addTag()
*/
function add_tag($tag) {
public function addTag($tag) {
$this->tags[] = $tag;
}
......
......@@ -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);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment