mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 01:16:44 +02:00
MDL-40903 cache: coding style tidyup pre-integration
This commit is contained in:
parent
083fa87759
commit
8bc1d659b8
3 changed files with 7 additions and 23 deletions
20
cache/tests/fixtures/lib.php
vendored
20
cache/tests/fixtures/lib.php
vendored
|
@ -251,26 +251,6 @@ class cache_phpunit_application extends cache_application {
|
|||
public function phpunit_get_store_implements() {
|
||||
return class_implements($this->get_store());
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the given key directly from the persistdata cache.
|
||||
*
|
||||
* @param string $key
|
||||
* @return false|mixed
|
||||
*/
|
||||
public function phpunit_get_directly_from_persistcache($key) {
|
||||
$key = $this->parse_key($key);
|
||||
return $this->get_from_persist_cache($key);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the cache loaders definition.
|
||||
*
|
||||
* @return cache_definition
|
||||
*/
|
||||
public function phpunit_get_definition() {
|
||||
return $this->get_definition();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue