Commit bdb5f62b authored by catch's avatar catch

Issue #1322040 by dixon_: Fixed Change private methods to protected.

parent 8a4bf57a
......@@ -225,7 +225,7 @@ class MemCacheDrupal implements DrupalCacheInterface {
* value against this single-value sum tells us whether or not a new wildcard
* flush has affected the cached item.
*/
private function wildcard_flushes($cid) {
protected function wildcard_flushes($cid) {
return array_sum($this->wildcards($cid));
}
......@@ -234,7 +234,7 @@ class MemCacheDrupal implements DrupalCacheInterface {
* statically so multiple cache requests for the same item on the same page
* load doesn't add overhead.
*/
private function wildcards($cid, $flush = FALSE) {
protected function wildcards($cid, $flush = FALSE) {
static $wildcards = array();
$matching = array();
......@@ -344,7 +344,7 @@ class MemCacheDrupal implements DrupalCacheInterface {
/**
* Check if a wildcard flush has invalidated the current cached copy.
*/
private function wildcard_valid($cid, $cache) {
protected function wildcard_valid($cid, $cache) {
// Previously cached content won't have ->flushes defined. We could
// force flush, but instead leave this up to the site admin.
$flushes = isset($cache->flushes) ? (int)$cache->flushes : 0;
......@@ -395,4 +395,3 @@ class MemCacheDrupal implements DrupalCacheInterface {
$conf[$name] = $value;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment