updated etxlink, ctools, colorbox, computed_field
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
|
||||
/**
|
||||
* @file
|
||||
*
|
||||
* Plugins to handle cache-indirection.
|
||||
*
|
||||
* Simple plugin management to allow clients to more tightly control where
|
||||
@@ -52,7 +51,6 @@
|
||||
* @param string $mechanism
|
||||
* A string containing the plugin name, and an optional data element to
|
||||
* send to the plugin separated by two colons.
|
||||
*
|
||||
* @param string $key
|
||||
* The key used to identify the cache.
|
||||
*
|
||||
@@ -70,7 +68,6 @@ function ctools_cache_get($mechanism, $key) {
|
||||
* @param string $mechanism
|
||||
* A string containing the plugin name, and an optional data element to
|
||||
* send to the plugin separated by two colons.
|
||||
*
|
||||
* @param string $key
|
||||
* The key used to identify the cache.
|
||||
*
|
||||
@@ -88,7 +85,6 @@ function ctools_cache_set($mechanism, $key, $object) {
|
||||
* @param string $mechanism
|
||||
* A string containing the plugin name, and an optional data element to
|
||||
* send to the plugin separated by two colons.
|
||||
*
|
||||
* @param string $key
|
||||
* The key used to identify the cache.
|
||||
*/
|
||||
@@ -108,13 +104,10 @@ function ctools_cache_clear($mechanism, $key) {
|
||||
* @param string $mechanism
|
||||
* A string containing the plugin name, and an optional data element to
|
||||
* send to the plugin separated by two colons.
|
||||
*
|
||||
* @param string $key
|
||||
* The key used to identify the cache.
|
||||
*
|
||||
* @param string $op
|
||||
* The operation to call, such as 'break' or 'finalize'.
|
||||
*
|
||||
* @param mixed $object
|
||||
* The cache data being operated on, in case it is necessary. This is
|
||||
* optional so no references should be used.
|
||||
@@ -150,7 +143,7 @@ function ctools_cache_operation($mechanism, $key, $op, $object = NULL) {
|
||||
*/
|
||||
function ctools_cache_find_plugin($mechanism) {
|
||||
if (strpos($mechanism, '::') !== FALSE) {
|
||||
// use explode(2) to ensure that the data can contain double
|
||||
// Use explode(2) to ensure that the data can contain double
|
||||
// colons, just in case.
|
||||
list($name, $data) = explode('::', $mechanism, 2);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user