aboutsummaryrefslogtreecommitdiff
path: root/plugins/video_ffmpeg_helper/video_ffmpeg_helper.install
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/video_ffmpeg_helper/video_ffmpeg_helper.install')
-rw-r--r--plugins/video_ffmpeg_helper/video_ffmpeg_helper.install89
1 files changed, 0 insertions, 89 deletions
diff --git a/plugins/video_ffmpeg_helper/video_ffmpeg_helper.install b/plugins/video_ffmpeg_helper/video_ffmpeg_helper.install
deleted file mode 100644
index aa76914..0000000
--- a/plugins/video_ffmpeg_helper/video_ffmpeg_helper.install
+++ /dev/null
@@ -1,89 +0,0 @@
-<?php
-//$Id$
-/**
- * @file
- * Provide installation functions for video_ffmpeg_helper.module .
- *
- * @author Heshan Wanigasooriya <heshan at heidisoft dot com>
- * <heshanmw at gmail dot com>
- * @todo
- */
-
-/**
- * Implementation of hook_schema().
- */
-function video_ffmpeg_helper_schema() {
- $schema['video_rendering'] = array(
- 'description' => t('Store video transcoding queue'),
- 'fields' => array(
- 'vid' => array(
- 'description' => t('video id : primary key'),
- 'type' => 'int',
- 'unsigned' => TRUE,
- 'not null' => TRUE,
- 'default' => 0,
- ),
- 'nid' => array(
- 'description' => t('Node id : index of the {node}.nid'),
- 'type' => 'int',
- 'unsigned' => TRUE,
- 'not null' => TRUE,
- 'default' => 0,
- ),
- 'origfile' => array(
- 'description' => t('original file path'),
- 'type' => 'text',
- 'not null' => TRUE,
- 'default' => '',
- ),
- 'pid' => array(
- 'description' => t('Pid'),
- 'type' => 'int',
- 'unsigned' => TRUE,
- 'not null' => TRUE,
- 'default' => 0,
- ),
- 'status' => array(
- 'description' => t('status of the transcoding'),
- 'type' => 'int',
- 'unsigned' => TRUE,
- 'not null' => TRUE,
- 'default' => 0,
- ),
- 'started' => array(
- 'description' => t('Started transcodings'),
- 'type' => 'int',
- 'not null' => TRUE,
- 'default' => 0,
- ),
- 'completed' => array(
- 'description' => t('Transcoding completed'),
- 'type' => 'int',
- 'not null' => TRUE,
- 'default' => 0,
- ),
- ),
- 'indexes' => array(
- 'nid' => array('nid'),
- ),
- 'primary key' => array('vid'),
- );
-
- return $schema;
-}
-
-
-/**
- * Implementation of hook_install().
- */
-function video_ffmpeg_helper_install() {
- // Create tables.
- drupal_install_schema('video_ffmpeg_helper');
-}
-
-/**
- * Implementation of hook_uninstall().
- */
-function video_ffmpeg_helper_uninstall() {
- drupal_uninstall_schema('video_ffmpeg_helper');
-} \ No newline at end of file