Skip to content

Commit

Permalink
MDL-52346 caching: Coding style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewnicols committed Feb 29, 2016
1 parent 8bd28ed commit ae3c6ee
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions cache/classes/definition.php
Expand Up @@ -318,6 +318,7 @@ class cache_definition {
* @var bool
*/
protected $canuselocalstore = false;

/**
* The selected sharing option.
* @var int One of self::SHARING_*
Expand Down
8 changes: 4 additions & 4 deletions lib/db/caches.php
Expand Up @@ -37,7 +37,7 @@
'simpledata' => true,
'staticacceleration' => true,
'staticaccelerationsize' => 30,
'canuselocalstore' => true
'canuselocalstore' => true,
),

// Used to store cache of all available translations.
Expand All @@ -46,7 +46,7 @@
'simplekeys' => true,
'simpledata' => true,
'staticacceleration' => true,
'canuselocalstore' => true
'canuselocalstore' => true,
),

// Used to store database meta information.
Expand Down Expand Up @@ -93,7 +93,7 @@
// 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.
Expand Down Expand Up @@ -206,7 +206,7 @@
'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.
Expand Down

0 comments on commit ae3c6ee

Please sign in to comment.