Index: feedapi.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/feedapi/feedapi.module,v
retrieving revision 1.23.2.102
diff -r1.23.2.102 feedapi.module
163,168d162
<   $names = node_get_types('names');
<   foreach ($names as $type => $name) {
<     if (!feedapi_enabled($type)) {
<       unset($names[$type]);
<     }
<   }
169a164
>   $names = _feedapi_content_types_list();
279,284d273
<   $nt = node_get_types();
<   foreach ($nt as $type => $info) {
<     if (variable_get('feedapi_settings_'. $type, FALSE) !== FALSE) {
<       $feed_types[$type] = $info->name;
<     }
<   }
289c278
<     '#options' => $feed_types,
---
>     '#options' => _feedapi_content_types_list(),
1322a1312,1324
> 
> /**
>  * Return a list of FeedAPI-enabled content-types list, ready-to-use for #options at FormsAPI
>  */
> function _feedapi_content_types_list() {
>   $names = node_get_types('names');
>   foreach ($names as $type => $name) {
>     if (!feedapi_enabled($type)) {
>       unset($names[$type]);
>     }
>   }
>   return $names;
> }
\ No newline at end of file
