Commit 7f8c6b53 authored by xjm's avatar xjm Committed by tim.plunkett

Issue #1805996 by xjm: Remove stale references to CCK.

parent f2af4e80
......@@ -17,8 +17,7 @@
*
* They can handle creating Views from a Drupal page hook; they can
* handle creating Views from a Drupal block hook. They can also
* handle creating Views from an external module source, such as
* a Panels pane, or an insert view, or a CCK field type.
* handle creating Views from an external module source.
*/
/**
......
......@@ -1289,8 +1289,7 @@ function render_altered($alter, $tokens) {
function render_trim_text($alter, $value) {
if (!empty($alter['strip_tags'])) {
// NOTE: It's possible that some external fields might override the
// element type so if someone from, say, CCK runs into a bug here,
// this may be why =)
// element type.
$this->definition['element type'] = 'span';
}
return views_trim_text($alter, $value);
......
......@@ -275,7 +275,6 @@ function field_views_field_default_views_data($field) {
if (count($field['columns']) == 1 || $column == 'value') {
$title = t('@label (!name)', array('@label' => $label, '!name' => $field['field_name']));
// CCK used the first 10 characters of $label. Probably doesn't matter.
$title_short = $label;
}
else {
......@@ -311,7 +310,6 @@ function field_views_field_default_views_data($field) {
if ($group_name != $groups[$entity_name] || $label != $label_name) {
if (count($field['columns']) == 1 || $column == 'value') {
$alias_title = t('@label (!name)', array('@label' => $label_name, '!name' => $field['field_name']));
// CCK used the first 10 characters of $label. Probably doesn't matter.
}
else {
$alias_title = t('@label (!name:!column)', array('@label' => $label_name, '!name' => $field['field_name'], '!column' => $column));
......
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