diff options
Diffstat (limited to 'library')
| -rw-r--r-- | library/WT/Controller/Page.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/library/WT/Controller/Page.php b/library/WT/Controller/Page.php index 2b0349d6c5..df81ce3dfc 100644 --- a/library/WT/Controller/Page.php +++ b/library/WT/Controller/Page.php @@ -136,8 +136,6 @@ class WT_Controller_Page extends WT_Controller_Base { * @return string */ protected function pageFooter() { - global $start_time; - return Theme::theme()->footerContainer() . $this->getJavascript() . @@ -145,7 +143,7 @@ class WT_Controller_Page extends WT_Controller_Base { '</body>' . '</html>' . PHP_EOL . '<!-- webtrees: ' . WT_VERSION . ' -->' . - '<!-- Execution time: ' . WT_I18N::number(microtime(true) - $start_time, 3) . ' seconds -->' . + '<!-- Execution time: ' . WT_I18N::number(microtime(true) - WT_START_TIME, 3) . ' seconds -->' . '<!-- Memory: ' . WT_I18N::number(memory_get_peak_usage(true) / 1024) . ' KB -->' . '<!-- SQL queries: ' . WT_I18N::number(WT_DB::getQueryCount()) . ' -->'; } |
