Skip to content
Snippets Groups Projects
Commit e21dbe1a authored by twistor's avatar twistor Committed by Chris Leppanen
Browse files

Issue #2531706 by twistor: relation "cache_feeds_http" does not exist

parent ba3f0094
No related branches found
No related tags found
No related merge requests found
......@@ -830,7 +830,14 @@ function _feeds_feeds_processor_targets_alter(array &$targets, $entity_type, $bu
* Implements hook_flush_caches().
*/
function feeds_flush_caches() {
return array('cache_feeds_http');
// The update to add the table needs to have run. Taken from
// https://www.drupal.org/node/2511858
include_once DRUPAL_ROOT . '/includes/install.inc';
if (drupal_get_installed_schema_version('feeds') >= 7212) {
return array('cache_feeds_http');
}
return array();
}
/**
......
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