Commit 0c70ac44 authored by KarenS's avatar KarenS

Revert #780566 by stella, add drupal_alter() for content_allowed_values lists...

Revert #780566 by stella, add drupal_alter() for content_allowed_values lists created by userreference and nodereference, needs more thought.
parent 121f60a6
......@@ -4,7 +4,6 @@ CCK 6.x-2.x
===========
Features:
- #780566 by stella, add drupal_alter() for content_allowed_values lists created by userreference and nodereference.
- #692822 by Dave Reid, add authoring info and publishing options to CCK extra fields.
- #670344 by dagmar: Make CCK compatible with both, views 2 and views 3.
......
......@@ -720,8 +720,6 @@ function nodereference_allowed_values($field) {
foreach ($references as $key => $value) {
$options[$key] = $value['rendered'];
}
drupal_alter('content_allowed_values', $options, $field);
return $options;
}
......
......@@ -630,8 +630,6 @@ function userreference_allowed_values($field) {
foreach ($references as $key => $value) {
$options[$key] = $value['rendered'];
}
drupal_alter('content_allowed_values', $options, $field);
return $options;
}
......
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