Update check_new_orders.php

This commit is contained in:
tripathyr 2022-04-12 16:58:17 +05:30 committed by GitHub
parent ca2df1f142
commit fd61e27e2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,10 +1,5 @@
<?php
/**
* Created by PhpStorm.
* User: Abhishek Kumar Sinha
* Date: 12/1/2017
* Time: 3:31 PM
*/
require_once '../includes/imp_files.php';
if (!checkLoginStatus()) {
@ -13,9 +8,9 @@ if (!checkLoginStatus()) {
$last_trade_date = $_SESSION['last_trade_date'];
$lod = $OrderClass->get_last_order_date($last_trade_date);
$lod = get_last_order_date($last_trade_date);
if ($lod) {
$_SESSION['last_trade_date'] = $UserClass->time_now();
$_SESSION['last_trade_date'] = time_now();
}
echo $lod;
echo $lod;