From cce813a9227e67ccba714c3968395eb1ad7ae491 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Sat, 24 Oct 2015 00:48:40 -0700 Subject: [PATCH] Move MultiWriteBagOStuff to /libs Also moved related tests files to /libs. Change-Id: I806eeaa30205733d497adde933baf0c4157f7aae --- autoload.php | 2 +- includes/{ => libs}/objectcache/MultiWriteBagOStuff.php | 0 tests/phpunit/includes/{ => libs}/objectcache/BagOStuffTest.php | 0 .../includes/{ => libs}/objectcache/MultiWriteBagOStuffTest.php | 0 .../includes/{ => libs}/objectcache/ReplicatedBagOStuffTest.php | 0 .../includes/{ => libs}/objectcache/WANObjectCacheTest.php | 0 6 files changed, 1 insertion(+), 1 deletion(-) rename includes/{ => libs}/objectcache/MultiWriteBagOStuff.php (100%) rename tests/phpunit/includes/{ => libs}/objectcache/BagOStuffTest.php (100%) rename tests/phpunit/includes/{ => libs}/objectcache/MultiWriteBagOStuffTest.php (100%) rename tests/phpunit/includes/{ => libs}/objectcache/ReplicatedBagOStuffTest.php (100%) rename tests/phpunit/includes/{ => libs}/objectcache/WANObjectCacheTest.php (100%) diff --git a/autoload.php b/autoload.php index 8720f333af..b32824d5c7 100644 --- a/autoload.php +++ b/autoload.php @@ -816,7 +816,7 @@ $wgAutoloadLocalClasses = array( 'MssqlUpdater' => __DIR__ . '/includes/installer/MssqlUpdater.php', 'MultiConfig' => __DIR__ . '/includes/config/MultiConfig.php', 'MultiHttpClient' => __DIR__ . '/includes/libs/MultiHttpClient.php', - 'MultiWriteBagOStuff' => __DIR__ . '/includes/objectcache/MultiWriteBagOStuff.php', + 'MultiWriteBagOStuff' => __DIR__ . '/includes/libs/objectcache/MultiWriteBagOStuff.php', 'MutableConfig' => __DIR__ . '/includes/config/MutableConfig.php', 'MutableContext' => __DIR__ . '/includes/context/MutableContext.php', 'MwSql' => __DIR__ . '/maintenance/sql.php', diff --git a/includes/objectcache/MultiWriteBagOStuff.php b/includes/libs/objectcache/MultiWriteBagOStuff.php similarity index 100% rename from includes/objectcache/MultiWriteBagOStuff.php rename to includes/libs/objectcache/MultiWriteBagOStuff.php diff --git a/tests/phpunit/includes/objectcache/BagOStuffTest.php b/tests/phpunit/includes/libs/objectcache/BagOStuffTest.php similarity index 100% rename from tests/phpunit/includes/objectcache/BagOStuffTest.php rename to tests/phpunit/includes/libs/objectcache/BagOStuffTest.php diff --git a/tests/phpunit/includes/objectcache/MultiWriteBagOStuffTest.php b/tests/phpunit/includes/libs/objectcache/MultiWriteBagOStuffTest.php similarity index 100% rename from tests/phpunit/includes/objectcache/MultiWriteBagOStuffTest.php rename to tests/phpunit/includes/libs/objectcache/MultiWriteBagOStuffTest.php diff --git a/tests/phpunit/includes/objectcache/ReplicatedBagOStuffTest.php b/tests/phpunit/includes/libs/objectcache/ReplicatedBagOStuffTest.php similarity index 100% rename from tests/phpunit/includes/objectcache/ReplicatedBagOStuffTest.php rename to tests/phpunit/includes/libs/objectcache/ReplicatedBagOStuffTest.php diff --git a/tests/phpunit/includes/objectcache/WANObjectCacheTest.php b/tests/phpunit/includes/libs/objectcache/WANObjectCacheTest.php similarity index 100% rename from tests/phpunit/includes/objectcache/WANObjectCacheTest.php rename to tests/phpunit/includes/libs/objectcache/WANObjectCacheTest.php -- 2.20.1