CC-2652: Change initil timpstamp to zero

- done
This commit is contained in:
James 2011-08-09 10:46:34 -04:00
parent 968c0f96a2
commit 1f35fb3534
2 changed files with 2 additions and 6 deletions

View file

@ -297,10 +297,8 @@ class AirtimeInstall
public static function SetImportTimestamp()
{
global $CC_DBC;
$now = time();
$sql = "INSERT INTO cc_pref (keystr, valstr) VALUES ('import_timestamp', '$now')";
$sql = "INSERT INTO cc_pref (keystr, valstr) VALUES ('import_timestamp', '0')";
$result = $CC_DBC->query($sql);
if (PEAR::isError($result)) {
return false;

View file

@ -370,10 +370,8 @@ class AirtimeInstall{
public static function SetImportTimestamp()
{
global $CC_DBC;
$now = time();
$sql = "INSERT INTO cc_pref (keystr, valstr) VALUES ('import_timestamp', '$now')";
$sql = "INSERT INTO cc_pref (keystr, valstr) VALUES ('import_timestamp', '0')";
$result = $CC_DBC->query($sql);
if (PEAR::isError($result)) {
return false;