MDL-82158 core_cache: Move cache definition

This commit is contained in:
Andrew Nicols 2024-06-11 14:10:12 +08:00
parent c5ff1b053f
commit a63e81bfa5
No known key found for this signature in database
GPG Key ID: 6D1E3157C8CFBF14
2 changed files with 1 additions and 14 deletions

View File

@ -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.
*

View File

@ -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',