From 00d14a37521faab62e4a3d1fd148e50b44afc8d1 Mon Sep 17 00:00:00 2001
From: Mark Ferree <markferree@gmail.com>
Date: Wed, 2 Mar 2011 16:46:24 -0800
Subject: [PATCH] Issue #1079440 by mrf: Removed check against module name to allow ctools to export custom content from other modules.

---
 includes/features.ctools.inc |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/includes/features.ctools.inc b/includes/features.ctools.inc
index 9646ea4..bf5b5c1 100644
--- a/includes/features.ctools.inc
+++ b/includes/features.ctools.inc
@@ -92,9 +92,7 @@ function ctools_features_export_render($module, $data) {
 function ctools_component_features_api($module_name) {
   $api = array();
   foreach (_ctools_features_get_info() as $component => $info) {
-    if ($info['module'] === $module_name) {
-      $api[$component] = $info;
-    }
+    $api[$component] = $info;
   }
   return $api;
 }
-- 
1.7.1

