From 839f02bb45427dc59229147e151493d55b91ae12 Mon Sep 17 00:00:00 2001 From: Brad Jorsch Date: Tue, 24 Jun 2014 12:52:38 -0400 Subject: [PATCH] Actually fetch config object in ApiQueryRecentChanges::getResultProperties Change-Id: Id9c316733896a27ce3f6c3e0e5efdf62f7d1ff1b --- includes/api/ApiQueryRecentChanges.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/api/ApiQueryRecentChanges.php b/includes/api/ApiQueryRecentChanges.php index 3067006c58..e4078d513d 100644 --- a/includes/api/ApiQueryRecentChanges.php +++ b/includes/api/ApiQueryRecentChanges.php @@ -813,7 +813,7 @@ class ApiQueryRecentChanges extends ApiQueryGeneratorBase { ApiBase::PROP_NULLABLE => true ), 'logtype' => array( - ApiBase::PROP_TYPE => $config->get( 'LogTypes' ), + ApiBase::PROP_TYPE => $this->getConfig()->get( 'LogTypes' ), ApiBase::PROP_NULLABLE => true ), 'logaction' => array( -- 2.20.1