MDL-37683 cache: - Comments cleanup and remove ;;
This commit is contained in:
Vendored
+4
-4
@@ -496,9 +496,9 @@ class cache_helper {
|
||||
*/
|
||||
public static function update_definitions($coreonly = false) {
|
||||
global $CFG;
|
||||
// Include locallib
|
||||
// Include locallib.
|
||||
require_once($CFG->dirroot.'/cache/locallib.php');
|
||||
// First update definitions
|
||||
// First update definitions.
|
||||
cache_config_writer::update_definitions($coreonly);
|
||||
// Second reset anything we have already initialised to ensure we're all up to date.
|
||||
cache_factory::reset();
|
||||
@@ -511,7 +511,7 @@ class cache_helper {
|
||||
*/
|
||||
public static function update_site_identifier($siteidentifier) {
|
||||
global $CFG;
|
||||
// Include locallib
|
||||
// Include locallib.
|
||||
require_once($CFG->dirroot.'/cache/locallib.php');
|
||||
$factory = cache_factory::instance();
|
||||
$factory->updating_started();
|
||||
@@ -544,4 +544,4 @@ class cache_helper {
|
||||
global $CFG;
|
||||
return (string)$CFG->version;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user