smsq/tests/db-update-outgoing-msg-frag.php

10 lines
349 B
PHP
Raw Permalink Normal View History

2017-11-15 05:23:00 +01:00
<?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]));