Skip to content
Snippets Groups Projects
Commit 959dbcf5 authored by Alex Barth's avatar Alex Barth
Browse files

Remove an overly verbose comment.

parent 29b54117
No related branches found
No related tags found
No related merge requests found
...@@ -687,9 +687,6 @@ function feeds_plugin_instance($plugin, $id) { ...@@ -687,9 +687,6 @@ function feeds_plugin_instance($plugin, $id) {
if ($class = ctools_plugin_load_class('feeds', 'plugins', $plugin, 'handler')) { if ($class = ctools_plugin_load_class('feeds', 'plugins', $plugin, 'handler')) {
return FeedsConfigurable::instance($class, $id); return FeedsConfigurable::instance($class, $id);
} }
// Return FeedsMissingPlugin if no plugin was found.
// @todo Better error handling.
drupal_set_message(t('Missing Feeds plugin. Check whether all required libraries and modules are installed properly.'), 'warning'); drupal_set_message(t('Missing Feeds plugin. Check whether all required libraries and modules are installed properly.'), 'warning');
$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