Skip to content
Snippets Groups Projects
Commit 7ae512dc authored by Chris Leppanen's avatar Chris Leppanen
Browse files

Issue #1191498 by dooug, twistor: Set drupal_set_message() to not repeat 'Missing Feeds plugin...'.

parent 238614fe
No related branches found
No related tags found
No related merge requests found
...@@ -921,10 +921,10 @@ function feeds_plugin($plugin, $id) { ...@@ -921,10 +921,10 @@ function feeds_plugin($plugin, $id) {
$args = array('%plugin' => $plugin, '@id' => $id); $args = array('%plugin' => $plugin, '@id' => $id);
if (user_access('administer feeds')) { if (user_access('administer feeds')) {
$args['@link'] = url('admin/structure/feeds/' . $id); $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 { 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'); $class = ctools_plugin_load_class('feeds', 'plugins', 'FeedsMissingPlugin', 'handler');
return FeedsConfigurable::instance($class, $id); return FeedsConfigurable::instance($class, $id);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment