summaryrefslogtreecommitdiff
path: root/library
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2015-01-23 14:47:51 +0000
committerGreg Roach <fisharebest@gmail.com>2015-01-23 16:07:27 +0000
commita0d651fb8d0284869d417277add2ece5e856d456 (patch)
tree1c4514700b49fe0748282ce323e44df593d2c336 /library
parent8a08d25d12d318fb970cb33fa419701161668b2d (diff)
downloadwebtrees-a0d651fb8d0284869d417277add2ece5e856d456.tar.gz
webtrees-a0d651fb8d0284869d417277add2ece5e856d456.tar.bz2
webtrees-a0d651fb8d0284869d417277add2ece5e856d456.zip
global used for two different things
Diffstat (limited to 'library')
-rw-r--r--library/WT/Controller/Page.php4
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()) . ' -->';
}