api: Fix "PHP Notice: Undefined variable: config"
authorTimo Tijhof <krinklemail@gmail.com>
Wed, 2 Mar 2016 21:52:21 +0000 (21:52 +0000)
committerBryanDavis <bdavis@wikimedia.org>
Wed, 2 Mar 2016 21:54:43 +0000 (21:54 +0000)
commitee1d97b3cc731618d184facba9dec0f1afda0833
treee27182f5eb7fa7e9f8948d9134b409d37d173766
parent58201b8b8c5d709a1ff8a728451d7d3372d67c1e
api: Fix "PHP Notice: Undefined variable: config"

Follows-up 362c220aa1, which split the method up but didn't
re-create a local $config variable.

Change-Id: Ic32ac3c600d0b4d69e8129fa50ea47d9a6a54b20
includes/api/ApiMain.php