Api request log: improve module retrieval
authorSergio Santoro <santoro.srg@gmail.com>
Tue, 22 Jul 2014 13:18:15 +0000 (15:18 +0200)
committerSergio Santoro <santoro.srg@gmail.com>
Wed, 23 Jul 2014 18:44:10 +0000 (20:44 +0200)
commita3a4ea87579f1395e3acbc870398b95e5e4b040a
treeaab0123870dd692fc65049e9115718685f68bc72
parente349358a5da3def796b92f9092fd28c8987bc23f
Api request log: improve module retrieval

The execution of an API request can throw an exception.
In those cases $processor->getModule() could return NULL.
Use the module manager directly to try to retrieve the
module instance.

Change-Id: Ie49762681ef797388216ab40d99b8e7458a837f6
api.php