MDL-52346 caching: Coding style fixes
authorAndrew Nicols <andrew@nicols.co.uk>
Mon, 29 Feb 2016 06:14:01 +0000 (14:14 +0800)
committerAndrew Nicols <andrew@nicols.co.uk>
Mon, 29 Feb 2016 06:14:01 +0000 (14:14 +0800)
cache/classes/definition.php
lib/db/caches.php

index 5f08b1b..21c85f2 100644 (file)
@@ -318,6 +318,7 @@ class cache_definition {
      * @var bool
      */
     protected $canuselocalstore = false;
+
     /**
      * The selected sharing option.
      * @var int One of self::SHARING_*
index b5022cb..0793271 100644 (file)
@@ -37,7 +37,7 @@ $definitions = array(
         'simpledata' => true,
         'staticacceleration' => true,
         'staticaccelerationsize' => 30,
-        'canuselocalstore' => true
+        'canuselocalstore' => true,
     ),
 
     // Used to store cache of all available translations.
@@ -46,7 +46,7 @@ $definitions = array(
         'simplekeys' => true,
         'simpledata' => true,
         'staticacceleration' => true,
-        'canuselocalstore' => true
+        'canuselocalstore' => true,
     ),
 
     // Used to store database meta information.
@@ -93,7 +93,7 @@ $definitions = array(
     // cleaned text which is shareable.
     'htmlpurifier' => array(
         'mode' => cache_store::MODE_APPLICATION,
-        'canuselocalstore' => true
+        'canuselocalstore' => true,
     ),
 
     // Used to store data from the config + config_plugins table in the database.
@@ -206,7 +206,7 @@ $definitions = array(
     'coursemodinfo' => array(
         'mode' => cache_store::MODE_APPLICATION,
         'simplekeys' => true,
-        'canuselocalstore' => true
+        'canuselocalstore' => true,
     ),
     // This is the session user selections cache.
     // It's a special cache that is used to record user selections that should persist for the lifetime of the session.