Commit 7e1a0ca0 authored by webchick's avatar webchick

Issue #1919022 by Berdir: Remove translatable tag.

parent bc70abb3
......@@ -130,7 +130,6 @@ function block_update_8003() {
'not null' => TRUE,
'default' => '',
'description' => 'Custom title for the block. (Empty string will use block default title, - None - will remove the title, text will cause block to use specified title.)',
'translatable' => TRUE,
)
);
}
......
......@@ -65,13 +65,11 @@ function menu_link_schema() {
'length' => 255,
'not null' => TRUE,
'default' => '',
'translatable' => TRUE,
),
'options' => array(
'description' => 'A serialized array of options to be passed to the url() or l() function, such as a query string or HTML attributes.',
'type' => 'blob',
'not null' => FALSE,
'translatable' => TRUE,
'serialize' => TRUE,
),
'module' => array(
......
......@@ -296,7 +296,6 @@ function node_schema() {
'length' => 255,
'not null' => TRUE,
'default' => '',
'translatable' => TRUE,
),
'base' => array(
'description' => 'The base string used to construct callbacks corresponding to this node type.',
......@@ -315,14 +314,12 @@ function node_schema() {
'type' => 'text',
'not null' => TRUE,
'size' => 'medium',
'translatable' => TRUE,
),
'help' => array(
'description' => 'Help information shown to the user when creating a {node} of this type.',
'type' => 'text',
'not null' => TRUE,
'size' => 'medium',
'translatable' => TRUE,
),
'has_title' => array(
'description' => 'Boolean indicating whether this type uses the {node}.title field.',
......@@ -337,7 +334,6 @@ function node_schema() {
'length' => 255,
'not null' => TRUE,
'default' => '',
'translatable' => TRUE,
),
'custom' => array(
'description' => 'A boolean indicating whether this type is defined by a module (FALSE) or by a user via Add content type (TRUE).',
......
......@@ -740,7 +740,6 @@ function _node_types_build($rebuild = FALSE) {
}
}
$query = db_select('node_type', 'nt')
->addTag('translatable')
->addTag('node_type_access')
->fields('nt')
->orderBy('nt.type', 'ASC');
......
......@@ -553,7 +553,6 @@ function system_schema() {
'type' => 'blob',
'not null' => TRUE,
'size' => 'big',
'translatable' => TRUE,
),
),
'primary key' => array('name'),
......@@ -756,7 +755,6 @@ function system_schema() {
'type' => 'blob',
'not null' => TRUE,
'size' => 'big',
'translatable' => TRUE,
),
),
'primary key' => array('collection', 'name'),
......@@ -785,7 +783,6 @@ function system_schema() {
'type' => 'blob',
'not null' => TRUE,
'size' => 'big',
'translatable' => TRUE,
),
'expire' => array(
'description' => 'The time since Unix epoch in seconds when this item expires. Defaults to the maximum possible time.',
......@@ -1759,7 +1756,6 @@ function system_update_8023() {
'type' => 'blob',
'not null' => TRUE,
'size' => 'big',
'translatable' => TRUE,
),
'expire' => array(
'description' => 'The time since Unix epoch in seconds when this item expires. Defaults to the maximum possible time.',
......
......@@ -37,7 +37,6 @@ public function create(array $values) {
*/
protected function buildQuery($ids, $revision_id = FALSE) {
$query = parent::buildQuery($ids, $revision_id);
$query->addTag('translatable');
$query->addTag('term_access');
return $query;
}
......
......@@ -58,14 +58,12 @@ function taxonomy_schema() {
'not null' => TRUE,
'default' => '',
'description' => 'The term name.',
'translatable' => TRUE,
),
'description' => array(
'type' => 'text',
'not null' => FALSE,
'size' => 'big',
'description' => 'A description of the term.',
'translatable' => TRUE,
),
'format' => array(
'type' => 'varchar',
......
......@@ -733,7 +733,6 @@ function taxonomy_get_tree($vid, $parent = 0, $max_depth = NULL, $load_entities
$query = db_select('taxonomy_term_data', 't');
$query->join('taxonomy_term_hierarchy', 'h', 'h.tid = t.tid');
$result = $query
->addTag('translatable')
->addTag('term_access')
->fields('t')
->fields('h', array('parent'))
......
......@@ -130,7 +130,6 @@ function taxonomy_autocomplete($field_name) {
}
$query = db_select('taxonomy_term_data', 't');
$query->addTag('translatable');
$query->addTag('term_access');
// Do not select already entered terms.
......
......@@ -454,7 +454,6 @@ function user_update_8002() {
'not null' => TRUE,
'default' => '',
'description' => 'Role label.',
'translatable' => TRUE,
);
db_change_field('role', 'name', 'name', $column);
// Remove unique index.
......
......@@ -159,7 +159,6 @@ function views_ajax_autocomplete_taxonomy($vid) {
if ($tag_last != '') {
$query = db_select('taxonomy_term_data', 't');
$query->addTag('translatable');
$query->addTag('term_access');
// Do not select already entered terms.
......
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