diff --git a/includes/plugins.inc b/includes/plugins.inc index 7f9e60f86896584e5386322f774f0e3ed519bee5..f41c12c7b50a8872bd2dfab9a5ef8caa50f04a36 100644 --- a/includes/plugins.inc +++ b/includes/plugins.inc @@ -243,13 +243,10 @@ function ctools_get_plugins($module, $type, $id = NULL) { $cache = cache_get("plugins:$module:$type", $info[$module][$type]['cache table']); if (!empty($cache->data)) { - // Verify that the file exists as it may have been moved in a multisite environment - if (file_exists($cache->data['path'])) { - // Cache load succeeded so use the cached plugin list. - $plugins[$module][$type] = $cache->data; - // Set $setup to true so we know things where loaded. - $setup[$module][$type] = TRUE; - } + // Cache load succeeded so use the cached plugin list. + $plugins[$module][$type] = $cache->data; + // Set $setup to true so we know things where loaded. + $setup[$module][$type] = TRUE; } else { // Cache load failed so store that we need to build and write the cache.