summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEarl Miles2012-01-22 16:13:38 (GMT)
committer Earl Miles2012-01-22 16:13:38 (GMT)
commit747151ec934bbef55cf768879bb756d5f6ae2541 (patch)
treeb462d0d24ba523af11331e1fc1ac3a9faeffe15f
parentc62c9547b4c5a5e5bc55d58adc86fe44f218155a (diff)
Revert Issue #1371700
-rw-r--r--includes/plugins.inc11
1 files changed, 4 insertions, 7 deletions
diff --git a/includes/plugins.inc b/includes/plugins.inc
index 7f9e60f..f41c12c 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.