aboutsummaryrefslogtreecommitdiff
path: root/cdn/video_s3/includes/amazon_s3.inc
diff options
context:
space:
mode:
authorMohamed Mujahid <muja_dd@494418.no-reply.drupal.org>2010-07-23 10:01:23 +0000
committerMohamed Mujahid <muja_dd@494418.no-reply.drupal.org>2010-07-23 10:01:23 +0000
commitef4365879413eab6a0d2be64374a9840c7eed804 (patch)
treef32097751575177f2245b68b412f55cd95cbc70a /cdn/video_s3/includes/amazon_s3.inc
parente8f0a0d58a73a0d3e5877d9cd433e5c191fd93d2 (diff)
downloadvideo-ef4365879413eab6a0d2be64374a9840c7eed804.tar.gz
video-ef4365879413eab6a0d2be64374a9840c7eed804.tar.bz2
function replacements
Diffstat (limited to 'cdn/video_s3/includes/amazon_s3.inc')
-rw-r--r--cdn/video_s3/includes/amazon_s3.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/cdn/video_s3/includes/amazon_s3.inc b/cdn/video_s3/includes/amazon_s3.inc
index 53f5ff9..f53b087 100644
--- a/cdn/video_s3/includes/amazon_s3.inc
+++ b/cdn/video_s3/includes/amazon_s3.inc
@@ -69,7 +69,7 @@ class video_amazon_s3 {
*/
public function update($video) {
$result = 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_ACTIVE, time(), $video->vid);
+ $video->bucket, $video->filename, $video->filepath, $video->filemime, $video->filesize, VIDEO_S3_ACTIVE, REQUEST_TIME, $video->vid);
return $result;
}