View file wu-engine/wu-actions/adm_user_finhist_del.php

File size: 282B
<?php
require_once('../wu_init.php');
if (!wu_token()) { exit('wu-error'); }
if (!USER_LOGGED) { exit('wu-error'); }
include('wu_checkadmin.php');

$id = intval($_POST['id']);

mysqli_query($connect_db, "DELETE FROM `".DB_PREFIX."_operations` WHERE id='$id' LIMIT 1");
exit('1');
?>