Commit 972f8d5a authored by KarenS's avatar KarenS
Browse files

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 29e8778e
......@@ -678,8 +678,6 @@ function node_reference_options_list($field) {
foreach ($references as $key => $value) {
$options[$key] = $value['title'];
}
drupal_alter('options_list', $options, $field);
return $options;
}
......
......@@ -521,8 +521,6 @@ function user_reference_options_list($field) {
foreach ($references as $key => $value) {
$options[$key] = $value['title'];
}
drupal_alter('options_list', $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