Update check_new_orders.php
This commit is contained in:
parent
ca2df1f142
commit
fd61e27e2e
@ -1,10 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
|
||||||
* Created by PhpStorm.
|
|
||||||
* User: Abhishek Kumar Sinha
|
|
||||||
* Date: 12/1/2017
|
|
||||||
* Time: 3:31 PM
|
|
||||||
*/
|
|
||||||
require_once '../includes/imp_files.php';
|
require_once '../includes/imp_files.php';
|
||||||
|
|
||||||
if (!checkLoginStatus()) {
|
if (!checkLoginStatus()) {
|
||||||
@ -13,9 +8,9 @@ if (!checkLoginStatus()) {
|
|||||||
|
|
||||||
$last_trade_date = $_SESSION['last_trade_date'];
|
$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) {
|
if ($lod) {
|
||||||
$_SESSION['last_trade_date'] = $UserClass->time_now();
|
$_SESSION['last_trade_date'] = time_now();
|
||||||
}
|
}
|
||||||
echo $lod;
|
echo $lod;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user