summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwebchick <webchick@24967.no-reply.drupal.org>2012-01-31 00:19:49 -0800
committerwebchick <webchick@24967.no-reply.drupal.org>2012-01-31 00:19:49 -0800
commitf1603539f9758f33664aa6513787e53d752f5add (patch)
treea45124ccf0f89ccf46514c7278eacde2e19cff0f
parentf8a051b1a44659cb1748824fe78a508580841e79 (diff)
downloadbrdo-f1603539f9758f33664aa6513787e53d752f5add.tar.gz
brdo-f1603539f9758f33664aa6513787e53d752f5add.tar.bz2
Issue #1421330 by heyrocker: Fixed Add @see for cache_set() and cache_get() .
-rw-r--r--includes/cache.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/includes/cache.inc b/includes/cache.inc
index 9b9ea600c..eb7f09040 100644
--- a/includes/cache.inc
+++ b/includes/cache.inc
@@ -49,6 +49,8 @@ function _cache_get_object($bin) {
*
* @return
* The cache or FALSE on failure.
+ *
+ * @see cache_set()
*/
function cache_get($cid, $bin = 'cache') {
return _cache_get_object($bin)->get($cid);
@@ -138,6 +140,8 @@ function cache_get_multiple(array &$cids, $bin = 'cache') {
* general cache wipe.
* - A Unix timestamp: Indicates that the item should be kept at least until
* the given time, after which it behaves like CACHE_TEMPORARY.
+ *
+ * @see cache_get()
*/
function cache_set($cid, $data, $bin = 'cache', $expire = CACHE_PERMANENT) {
return _cache_get_object($bin)->set($cid, $data, $expire);