From 9e415bb3bfe526137b49934e5e200225fd02826d Mon Sep 17 00:00:00 2001
From: Alex Barth <alex_b@53995.no-reply.drupal.org>
Date: Thu, 22 Oct 2009 04:00:36 +0000
Subject: [PATCH] Remove hook_node_info() - will live in feeds_defaults module.

---
 feeds.module | 42 ------------------------------------------
 1 file changed, 42 deletions(-)

diff --git a/feeds.module b/feeds.module
index 7aca5cfc..f7ea8283 100644
--- a/feeds.module
+++ b/feeds.module
@@ -238,48 +238,6 @@ function feeds_feeds_plugins() {
   return _feeds_feeds_plugins();
 }
 
-/**
- * Implementation of hook_node_info().
- */
-function feeds_node_info() {
-  $items = array();
-  if (feeds_importer_enabled('feed')) {
-    $items['feed'] = array(
-      'name' => t('Feed'),
-      'module' => 'features',
-      'description' => t('Subscribe to RSS or Atom feeds. Creates nodes of the content type "Feed item" from feed content.'),
-      'has_title' => '1',
-      'title_label' => t('Title'),
-      'has_body' => '1',
-      'body_label' => t('Body'),
-      'locked' => TRUE,
-    );
-    $items['feed_item'] = array(
-      'name' => t('Feed item'),
-      'module' => 'features',
-      'description' => t('This content type is being used for automatically aggregated content from feeds.'),
-      'has_title' => '1',
-      'title_label' => t('Title'),
-      'has_body' => '1',
-      'body_label' => t('Body'),
-      'locked' => TRUE,
-    );
-  }
-  if (feeds_importer_enabled('feed_light')) {
-    $items['feed_light'] = array(
-      'name' => t('Feed (light)'),
-      'module' => 'features',
-      'description' => t('Subscribe to RSS or Atom feeds. Create light weight database records from feed content.'),
-      'has_title' => '1',
-      'title_label' => t('Title'),
-      'has_body' => '1',
-      'body_label' => t('Body'),
-      'locked' => TRUE,
-    );
-  }
-  return $items;
-}
-
 /**
  * Implementation of hook_nodeapi().
  */
-- 
GitLab