From 7ae512dcee9a328acb09b4b6a5fff09f128f346d Mon Sep 17 00:00:00 2001 From: Chris Leppanen <chris.leppanen@gmail.com> Date: Wed, 26 Sep 2012 18:10:28 -0700 Subject: [PATCH] Issue #1191498 by dooug, twistor: Set drupal_set_message() to not repeat 'Missing Feeds plugin...'. --- feeds.module | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/feeds.module b/feeds.module index 4529273a..0e1bda4a 100644 --- a/feeds.module +++ b/feeds.module @@ -921,10 +921,10 @@ function feeds_plugin($plugin, $id) { $args = array('%plugin' => $plugin, '@id' => $id); if (user_access('administer feeds')) { $args['@link'] = url('admin/structure/feeds/' . $id); - drupal_set_message(t('Missing Feeds plugin %plugin. See <a href="@link">@id</a>. Check whether all required libraries and modules are installed properly.', $args), 'warning'); + drupal_set_message(t('Missing Feeds plugin %plugin. See <a href="@link">@id</a>. Check whether all required libraries and modules are installed properly.', $args), 'warning', FALSE); } else { - drupal_set_message(t('Missing Feeds plugin %plugin. Please contact your site administrator.', $args), 'warning'); + drupal_set_message(t('Missing Feeds plugin %plugin. Please contact your site administrator.', $args), 'warning', FALSE); } $class = ctools_plugin_load_class('feeds', 'plugins', 'FeedsMissingPlugin', 'handler'); return FeedsConfigurable::instance($class, $id); -- GitLab