Update MyTransactionsTotal.php

This commit is contained in:
tripathyr 2022-04-12 16:56:11 +05:30 committed by GitHub
parent 7852716e3d
commit bd2609b6d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,10 +1,4 @@
<?php
/**
* Created by PhpStorm.
* User: Abhishek Kumar Sinha
* Date: 9/27/2017
* Time: 5:21 PM
*/
require_once '../includes/imp_files.php';
@ -14,9 +8,6 @@ if (!checkLoginStatus()) {
if(isset($_POST['job']) && $_POST['job'] == 'total_my_transactions') {
if (isset($UserClass, $OrderClass)) {
echo $total_my_orders = (int) $OrderClass->total_my_transactions();
}
echo $total_my_orders = (int) total_my_transactions();
}