You are here

public function video_amazon_s3::update in Video 6.4

1 call to video_amazon_s3::update()
video_amazon_s3::queue in plugins/video_s3/video_s3.lib.inc

File

plugins/video_s3/video_s3.lib.inc, line 89

Class

video_amazon_s3

Code

public function update($video) {
  return db_query("UPDATE {video_s3} SET bucket='%s', filename='%s', filepath='%s', filemime='%s', filesize='%s', status=%d, completed=%d WHERE vid=%d", $video->bucket, $video->filename, $video->filepath, $video->filemime, $video->filesize, VIDEO_S3_COMPLETE, time(), $video->vid);
}