Skip to content

Commit 6b6b5b0

Browse files
author
Nathaniel Catchpole
committed
Issue #3031775 by singhkiran, Chi: Cache backend classes reference non-existing functions cache_get() and cache_get_multiple()
1 parent a51a8f5 commit 6b6b5b0

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

core/lib/Drupal/Core/Cache/ApcuBackend.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ protected function getAll($prefix = '') {
129129
* Checks that the item is either permanent or did not expire.
130130
*
131131
* @param \stdClass $cache
132-
* An item loaded from cache_get() or cache_get_multiple().
132+
* An item loaded from self::get() or self::getMultiple().
133133
* @param bool $allow_invalid
134134
* If TRUE, a cache item may be returned even if it is expired or has been
135135
* invalidated. See ::get().

core/lib/Drupal/Core/Cache/DatabaseBackend.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ public function getMultiple(&$cids, $allow_invalid = FALSE) {
135135
* data as appropriate.
136136
*
137137
* @param object $cache
138-
* An item loaded from cache_get() or cache_get_multiple().
138+
* An item loaded from self::get() or self::getMultiple().
139139
* @param bool $allow_invalid
140140
* If FALSE, the method returns FALSE if the cache item is not valid.
141141
*

core/lib/Drupal/Core/Cache/MemoryBackend.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public function getMultiple(&$cids, $allow_invalid = FALSE) {
6565
* as appropriate.
6666
*
6767
* @param object $cache
68-
* An item loaded from cache_get() or cache_get_multiple().
68+
* An item loaded from self::get() or self::getMultiple().
6969
* @param bool $allow_invalid
7070
* (optional) If TRUE, cache items may be returned even if they have expired
7171
* or been invalidated.

core/lib/Drupal/Core/Cache/MemoryCache/MemoryCache.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class MemoryCache extends MemoryBackend implements MemoryCacheInterface {
2121
* as appropriate.
2222
*
2323
* @param object $cache
24-
* An item loaded from cache_get() or cache_get_multiple().
24+
* An item loaded from self::get() or self::getMultiple().
2525
* @param bool $allow_invalid
2626
* (optional) If TRUE, cache items may be returned even if they have expired
2727
* or been invalidated. Defaults to FALSE.

core/lib/Drupal/Core/Cache/PhpBackend.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ public function getMultiple(&$cids, $allow_invalid = FALSE) {
112112
* as appropriate.
113113
*
114114
* @param object $cache
115-
* An item loaded from cache_get() or cache_get_multiple().
115+
* An item loaded from self::get() or self::getMultiple().
116116
* @param bool $allow_invalid
117117
* If FALSE, the method returns FALSE if the cache item is not valid.
118118
*

0 commit comments

Comments
 (0)