Révision 7e72b748
Ajouté par Assos Assos il y a plus de 6 ans
drupal7/sites/all/modules/ctools/includes/cache.inc | ||
---|---|---|
2 | 2 |
|
3 | 3 |
/** |
4 | 4 |
* @file |
5 |
* |
|
6 | 5 |
* Plugins to handle cache-indirection. |
7 | 6 |
* |
8 | 7 |
* Simple plugin management to allow clients to more tightly control where |
... | ... | |
150 | 149 |
*/ |
151 | 150 |
function ctools_cache_find_plugin($mechanism) { |
152 | 151 |
if (strpos($mechanism, '::') !== FALSE) { |
153 |
// use explode(2) to ensure that the data can contain double
|
|
152 |
// Use explode(2) to ensure that the data can contain double
|
|
154 | 153 |
// colons, just in case. |
155 | 154 |
list($name, $data) = explode('::', $mechanism, 2); |
156 | 155 |
} |
Formats disponibles : Unified diff
Weekly update of contrib modules