Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

  • Loading branch information...
commit 86c2bbd5f271e3f257aa29dd4411a6e42ecbd82a 1 parent b6f49c7
Damyon Wiese authored February 18, 2013
8  cache/classes/helper.php
@@ -496,9 +496,9 @@ public static function hash_key($key, cache_definition $definition) {
496 496
      */
497 497
     public static function update_definitions($coreonly = false) {
498 498
         global $CFG;
499  
-        // Include locallib
  499
+        // Include locallib.
500 500
         require_once($CFG->dirroot.'/cache/locallib.php');
501  
-        // First update definitions
  501
+        // First update definitions.
502 502
         cache_config_writer::update_definitions($coreonly);
503 503
         // Second reset anything we have already initialised to ensure we're all up to date.
504 504
         cache_factory::reset();
@@ -511,7 +511,7 @@ public static function update_definitions($coreonly = false) {
511 511
      */
512 512
     public static function update_site_identifier($siteidentifier) {
513 513
         global $CFG;
514  
-        // Include locallib
  514
+        // Include locallib.
515 515
         require_once($CFG->dirroot.'/cache/locallib.php');
516 516
         $factory = cache_factory::instance();
517 517
         $factory->updating_started();
@@ -544,4 +544,4 @@ public static function get_site_version() {
544 544
         global $CFG;
545 545
         return (string)$CFG->version;
546 546
     }
547  
-}
  547
+}
4  cache/locallib.php
@@ -119,7 +119,7 @@ protected function config_save() {
119 119
      */
120 120
     protected function generate_configuration_array() {
121 121
         $configuration = array();
122  
-        $configuration['siteidentifier'] = $this->siteidentifier;;
  122
+        $configuration['siteidentifier'] = $this->siteidentifier;
123 123
         $configuration['stores'] = $this->configstores;
124 124
         $configuration['modemappings'] = $this->configmodemappings;
125 125
         $configuration['definitions'] = $this->configdefinitions;
@@ -1008,4 +1008,4 @@ public static function get_lock_summaries() {
1008 1008
         }
1009 1009
         return $locks;
1010 1010
     }
1011  
-}
  1011
+}

0 notes on commit 86c2bbd

Please sign in to comment.
Something went wrong with that request. Please try again.