From 49d6dd84811a5cb28b3103c68a6f5f381e997df0 Mon Sep 17 00:00:00 2001 From: Alex Barth <alex_b@53995.no-reply.drupal.org> Date: Wed, 21 Oct 2009 23:18:30 +0000 Subject: [PATCH] Only show enabled importers on import/ page. --- feeds.pages.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/feeds.pages.inc b/feeds.pages.inc index c1116001..1879ca75 100644 --- a/feeds.pages.inc +++ b/feeds.pages.inc @@ -15,6 +15,9 @@ function feeds_page() { $rows = array(); if ($importers = feeds_importer_load_all()) { foreach ($importers as $importer) { + if ($importer->disabled) { + continue; + } if (empty($importer->config['content_type'])) { $link = 'import/'. $importer->id; $title = $importer->config['name']; -- GitLab