aboutsummaryrefslogblamecommitdiffstats
path: root/include/queue_fn.php
blob: 22580bc4855aa39bec7a4e669dc158dbdacf5676 (plain) (tree)
1
2
3
4
5
6
7
                  


                                             
                                                                       
                                          
                          




                                                  
                                               
                          

          
 
 
<?php /** @file */

function update_queue_time($id) {
	logger('queue: requeue item ' . $id);
	q("UPDATE outq SET outq_updated = '%s' WHERE outq_hash = '%s'",
		dbesc(datetime_convert()),
		dbesc($id)
	);
}

function remove_queue_item($id) {
	logger('queue: remove queue item ' . $id);
	q("DELETE FROM outq WHERE hash = '%s'",
		dbesc($id)
	);
}