diff options
author | Matthieu Napoli <matthieu@mnapoli.fr> | 2015-02-02 06:55:50 +0300 |
---|---|---|
committer | Matthieu Napoli <matthieu@mnapoli.fr> | 2015-02-02 06:55:50 +0300 |
commit | 383cccc8fd4e1c250283b64cfd6367ac20ba9cc9 (patch) | |
tree | 64d2baaeda87160de221659c01274a5d981b9bb9 /core/View.php | |
parent | 4a54af57f9c0c4b86bbe5c409fee2742816aea87 (diff) |
Removed the timing of the whole page which wasn't used anymore
Diffstat (limited to 'core/View.php')
-rw-r--r-- | core/View.php | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/core/View.php b/core/View.php index 9a31220731..6c8244c548 100644 --- a/core/View.php +++ b/core/View.php @@ -237,13 +237,6 @@ class View implements ViewInterface // can fail, for example at installation (no plugin loaded yet) } - try { - $this->totalTimeGeneration = Registry::get('timer')->getTime(); - $this->totalNumberOfQueries = Profiler::getQueryCount(); - } catch (Exception $e) { - $this->totalNumberOfQueries = 0; - } - ProxyHttp::overrideCacheControlHeaders('no-store'); Common::sendHeader('Content-Type: ' . $this->contentType); |