smsq/tests/db-update-outgoing-msg-frag.php
2017-11-15 05:24:35 +01:00

9 lines
349 B
PHP

<?php
require '../includes/core.php';
if (count($argv) != 4 || !check_integer($argv[1]) || !check_integer($argv[2]) || !check_frag_state($argv[3])) {
die("Usage : $argv[0] [uniqueid] [frag id] [status]\n");
}
// function update_outgoing_msg_frag($msguid, $fragid, $status)
var_dump(update_outgoing_msg_frag($argv[1], $argv[2], $argv[3]));