diff options
author | Stefan Giehl <stefan@matomo.org> | 2020-01-28 00:20:43 +0300 |
---|---|---|
committer | Thomas Steur <tsteur@users.noreply.github.com> | 2020-01-28 00:20:43 +0300 |
commit | 907a3d6f78693bcaadde7460fe0c2224161de63b (patch) | |
tree | 1c87dd15286dca1afc9fc6b20ca8ca80ca3cb218 /config | |
parent | f734983e24af1dd2c1b37208bc18d6dea4114815 (diff) |
Use rebranded components (#15253)
Diffstat (limited to 'config')
-rw-r--r-- | config/environment/dev.php | 2 | ||||
-rw-r--r-- | config/environment/test.php | 2 | ||||
-rw-r--r-- | config/global.php | 8 |
3 files changed, 6 insertions, 6 deletions
diff --git a/config/environment/dev.php b/config/environment/dev.php index a8bedecca9..f0d1514d17 100644 --- a/config/environment/dev.php +++ b/config/environment/dev.php @@ -2,7 +2,7 @@ return array( - 'Piwik\Cache\Backend' => DI\object('Piwik\Cache\Backend\ArrayCache'), + 'Matomo\Cache\Backend' => DI\object('Matomo\Cache\Backend\ArrayCache'), 'Piwik\Translation\Loader\LoaderInterface' => DI\object('Piwik\Translation\Loader\LoaderCache') ->constructor(DI\get('Piwik\Translation\Loader\DevelopmentLoader')), diff --git a/config/environment/test.php b/config/environment/test.php index 7cb8defba0..bfd8e54460 100644 --- a/config/environment/test.php +++ b/config/environment/test.php @@ -29,7 +29,7 @@ return array( ]; }), - 'Piwik\Cache\Backend' => function () { + 'Matomo\Cache\Backend' => function () { return \Piwik\Cache::buildBackend('file'); }, 'cache.eager.cache_id' => 'eagercache-test-', diff --git a/config/global.php b/config/global.php index 189a2cdf77..602393e10d 100644 --- a/config/global.php +++ b/config/global.php @@ -2,7 +2,7 @@ use Interop\Container\ContainerInterface; use Interop\Container\Exception\NotFoundException; -use Piwik\Cache\Eager; +use Matomo\Cache\Eager; use Piwik\SettingsServer; use Piwik\Config; @@ -33,8 +33,8 @@ return array( 'path.cache' => DI\string('{path.tmp}/cache/tracker/'), - 'Piwik\Cache\Eager' => function (ContainerInterface $c) { - $backend = $c->get('Piwik\Cache\Backend'); + 'Matomo\Cache\Eager' => function (ContainerInterface $c) { + $backend = $c->get('Matomo\Cache\Backend'); $cacheId = $c->get('cache.eager.cache_id'); if (SettingsServer::isTrackerApiRequest()) { @@ -52,7 +52,7 @@ return array( return $cache; }, - 'Piwik\Cache\Backend' => function (ContainerInterface $c) { + 'Matomo\Cache\Backend' => function (ContainerInterface $c) { // If Piwik is not installed yet, it's possible the tmp/ folder is not writable // we prevent failing with an unclear message eg. coming from doctrine-cache // by forcing to use a cache backend which always works ie. array |