summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@webtrees.net>2019-02-26 14:04:25 +0000
committerGreg Roach <fisharebest@webtrees.net>2019-02-26 14:04:25 +0000
commit269fd10d8b81cb5e33a7a34320b7f88f5aec76eb (patch)
tree843a8a5918aff7ab8640a91add7e95de12e97d2e /index.php
parente0d0b8e12c8dfd4e0cc4d21cd6c444267ba3c8d6 (diff)
downloadwebtrees-269fd10d8b81cb5e33a7a34320b7f88f5aec76eb.tar.gz
webtrees-269fd10d8b81cb5e33a7a34320b7f88f5aec76eb.tar.bz2
webtrees-269fd10d8b81cb5e33a7a34320b7f88f5aec76eb.zip
Remove global constant CLIENT_JD
Diffstat (limited to 'index.php')
-rw-r--r--index.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/index.php b/index.php
index ef31d12129..09f86cd233 100644
--- a/index.php
+++ b/index.php
@@ -158,7 +158,6 @@ if ($max_execution_time !== '' && strpos(ini_get('disable_functions'), 'set_time
Session::start();
define('WT_TIMESTAMP', Carbon::now('UTC')->timestamp);
-define('WT_CLIENT_JD', 2440588 + intdiv(WT_TIMESTAMP, 86400));
// Update the last-login time no more than once a minute
if (WT_TIMESTAMP - Session::get('activity_time') >= 60) {