mirror of
https://github.com/moodle/moodle.git
synced 2025-02-25 04:23:22 +01:00
MDL-82158 core_cache: Move cache definition
This commit is contained in:
parent
c5ff1b053f
commit
a63e81bfa5
14
cache/classes/definition.php
vendored
14
cache/classes/definition.php
vendored
@ -14,20 +14,6 @@
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
/**
|
||||
* Cache definition class
|
||||
*
|
||||
* This file is part of Moodle's cache API, affectionately called MUC.
|
||||
* It contains the components that are requried in order to use caching.
|
||||
*
|
||||
* @package core
|
||||
* @category cache
|
||||
* @copyright 2012 Sam Hemelryk
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
/**
|
||||
* The cache definition class.
|
||||
*
|
||||
|
@ -53,6 +53,7 @@ $legacyclasses = [
|
||||
// Cache API.
|
||||
\cache::class => 'cache.php',
|
||||
\cache_application::class => 'application_cache.php',
|
||||
\cache_definition::class => 'definition.php',
|
||||
\cache_request::class => 'request_cache.php',
|
||||
\cache_session::class => 'session_cache.php',
|
||||
\cache_cached_object::class => 'cached_object.php',
|
||||
|
Loading…
x
Reference in New Issue
Block a user