CC-2652: Change initil timpstamp to zero
- done
This commit is contained in:
parent
968c0f96a2
commit
1f35fb3534
2 changed files with 2 additions and 6 deletions
|
@ -298,9 +298,7 @@ class AirtimeInstall
|
||||||
{
|
{
|
||||||
global $CC_DBC;
|
global $CC_DBC;
|
||||||
|
|
||||||
$now = time();
|
$sql = "INSERT INTO cc_pref (keystr, valstr) VALUES ('import_timestamp', '0')";
|
||||||
|
|
||||||
$sql = "INSERT INTO cc_pref (keystr, valstr) VALUES ('import_timestamp', '$now')";
|
|
||||||
$result = $CC_DBC->query($sql);
|
$result = $CC_DBC->query($sql);
|
||||||
if (PEAR::isError($result)) {
|
if (PEAR::isError($result)) {
|
||||||
return false;
|
return false;
|
||||||
|
|
|
@ -371,9 +371,7 @@ class AirtimeInstall{
|
||||||
{
|
{
|
||||||
global $CC_DBC;
|
global $CC_DBC;
|
||||||
|
|
||||||
$now = time();
|
$sql = "INSERT INTO cc_pref (keystr, valstr) VALUES ('import_timestamp', '0')";
|
||||||
|
|
||||||
$sql = "INSERT INTO cc_pref (keystr, valstr) VALUES ('import_timestamp', '$now')";
|
|
||||||
$result = $CC_DBC->query($sql);
|
$result = $CC_DBC->query($sql);
|
||||||
if (PEAR::isError($result)) {
|
if (PEAR::isError($result)) {
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue