From: Brad Jorsch Date: Tue, 24 Jun 2014 16:52:38 +0000 (-0400) Subject: Actually fetch config object in ApiQueryRecentChanges::getResultProperties X-Git-Tag: 1.31.0-rc.0~15266 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/cotisations/rappels.php?a=commitdiff_plain;h=839f02bb45427dc59229147e151493d55b91ae12;p=lhc%2Fweb%2Fwiklou.git Actually fetch config object in ApiQueryRecentChanges::getResultProperties Change-Id: Id9c316733896a27ce3f6c3e0e5efdf62f7d1ff1b --- 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(