From 13021688fc9bfef93d24a808edb4e9e7ab98d925 Mon Sep 17 00:00:00 2001 From: Joe Prochazka Date: Fri, 29 Apr 2016 22:45:40 -0400 Subject: [PATCH] Noted and commented out time convertions. --- build/portal/html/install/upgrade.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/build/portal/html/install/upgrade.php b/build/portal/html/install/upgrade.php index 5fb980a..217537d 100644 --- a/build/portal/html/install/upgrade.php +++ b/build/portal/html/install/upgrade.php @@ -87,7 +87,15 @@ } // Convert times to GMT. + + // You may wish to uncomment this block of code in order to convert existing times + // stored in the database to UTC/GMT time. Before doing so it is recommended that + // you set the setting max_execution_time setting to a large amount of time in your + // php.ini file. Depending on the amount of flight data logged this may take quite + // some time for this upgrade script to complete so be patient and let it run it's + // course. Afterwards set the max_execution_time back to it previous setting. + /* $dbh = $common->pdoOpen(); $sql = "SELECT id, firstSeen, lastSeen FROM ".$settings::db_prefix."aircraft"; $sth = $dbh->prepare($sql); @@ -165,6 +173,7 @@ $sth = NULL; $dbh = NULL; } + */ } // Add timezone setting.