function video_s3_install in Video 6.4
Same name and namespace in other branches
- 6.5 plugins/video_s3/video_s3.install \video_s3_install()
Implementation of hook_install().
File
- plugins/
video_s3/ video_s3.install, line 92 - Provides installation functions for video_s3.module.
Code
function video_s3_install() {
drupal_install_schema('video_s3');
// The video_s3 module cron hook must execute after the video module
// in order for ffmpeg converted files to be uploaded to S3 in the same cron run.
db_query("UPDATE {system} SET weight = 10 WHERE name = 'video_s3'");
}