Permalink
Browse files

MDL-37683 cache: - Comments cleanup and remove ;;

  • Loading branch information...
1 parent b6f49c7 commit 86c2bbd5f271e3f257aa29dd4411a6e42ecbd82a @damyon damyon committed Feb 18, 2013
Showing with 6 additions and 6 deletions.
  1. +4 −4 cache/classes/helper.php
  2. +2 −2 cache/locallib.php
View
8 cache/classes/helper.php
@@ -496,9 +496,9 @@ public static function hash_key($key, cache_definition $definition) {
*/
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 @@ public static function update_definitions($coreonly = false) {
*/
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 @@ public static function get_site_version() {
global $CFG;
return (string)$CFG->version;
}
-}
+}
View
4 cache/locallib.php
@@ -119,7 +119,7 @@ protected function config_save() {
*/
protected function generate_configuration_array() {
$configuration = array();
- $configuration['siteidentifier'] = $this->siteidentifier;;
+ $configuration['siteidentifier'] = $this->siteidentifier;
$configuration['stores'] = $this->configstores;
$configuration['modemappings'] = $this->configmodemappings;
$configuration['definitions'] = $this->configdefinitions;
@@ -1008,4 +1008,4 @@ public static function get_lock_summaries() {
}
return $locks;
}
-}
+}

0 comments on commit 86c2bbd

Please sign in to comment.