Newer
Older
backup-commander / html / inc / delete-file-bu.php
  1. <?php
  2.  
  3. function delete_bu_item( $id ){
  4. global $g_database_path;
  5. $db = new SQLite3( $g_database_path );
  6. $db_st = $db->prepare('delete from BULIST where BUID=:buid');
  7. $db_st->bindValue(':buid', $id );
  8. $db_st->execute();
  9. if( $db->lastErrorCode()!==0){
  10. return $db->lastErrorCode();
  11. }
  12.  
  13. }
  14.  
  15. ?>