diff --git a/framework/api/router.class.php b/framework/api/router.class.php index 2d48e8f56f..e782c286c9 100644 --- a/framework/api/router.class.php +++ b/framework/api/router.class.php @@ -207,6 +207,8 @@ class api extends router if($this->action == 'options') throw EndResponseException::create($entry->send(204)); echo call_user_func_array(array($entry, $this->action), array_values($this->params)); + + $this->outputXhprof(); } catch(EndResponseException $endResponseException) {