From cb117e3d59e942369be5425d8d3c3164fb5ae9a4 Mon Sep 17 00:00:00 2001 From: Kunal Mehta Date: Tue, 4 Oct 2016 10:53:10 -0700 Subject: [PATCH] Move MWGrants out of utils Literally every function in this class depends upon MediaWiki, so it does not make sense to be included in the utils/ directory. Change-Id: If6c6b75dc11b49b75f649d56eaeb9c96ef54b787 --- autoload.php | 2 +- includes/{utils => }/MWGrants.php | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename includes/{utils => }/MWGrants.php (100%) diff --git a/autoload.php b/autoload.php index 49a9bd4fc8..636cb592fd 100644 --- a/autoload.php +++ b/autoload.php @@ -781,7 +781,7 @@ $wgAutoloadLocalClasses = [ 'MWExceptionHandler' => __DIR__ . '/includes/exception/MWExceptionHandler.php', 'MWExceptionRenderer' => __DIR__ . '/includes/exception/MWExceptionRenderer.php', 'MWFileProps' => __DIR__ . '/includes/utils/MWFileProps.php', - 'MWGrants' => __DIR__ . '/includes/utils/MWGrants.php', + 'MWGrants' => __DIR__ . '/includes/MWGrants.php', 'MWHttpRequest' => __DIR__ . '/includes/http/MWHttpRequest.php', 'MWLBFactory' => __DIR__ . '/includes/db/MWLBFactory.php', 'MWMemcached' => __DIR__ . '/includes/compat/MemcachedClientCompat.php', diff --git a/includes/utils/MWGrants.php b/includes/MWGrants.php similarity index 100% rename from includes/utils/MWGrants.php rename to includes/MWGrants.php -- 2.20.1