aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/video_s3/filesystem/video_s3.inc2
-rw-r--r--plugins/video_s3/video_s3.module2
-rw-r--r--plugins/video_zencoder/transcoders/video_zencoder.inc4
3 files changed, 4 insertions, 4 deletions
diff --git a/plugins/video_s3/filesystem/video_s3.inc b/plugins/video_s3/filesystem/video_s3.inc
index e103e1c..30f8033 100644
--- a/plugins/video_s3/filesystem/video_s3.inc
+++ b/plugins/video_s3/filesystem/video_s3.inc
@@ -104,7 +104,7 @@ class video_s3 extends video_filesystem {
//lets show our buckets in table format with a delete link.
//@todo add permissions
//were enabled, that means they have successfully connected and created a bucket.
- if (variable_get('amazon_s3_access_key', false) && variable_get('vid_filesystem', 'drupal') == 'video_s3') {
+ if (variable_get('amazon_s3_access_key', false) && variable_get('video_filesystem', 'drupal') == 'video_s3') {
module_load_include('inc', 'video_s3', '/includes/amazon_s3');
$s3 = new video_amazon_s3;
$s3->connect();
diff --git a/plugins/video_s3/video_s3.module b/plugins/video_s3/video_s3.module
index 274da26..898a3eb 100644
--- a/plugins/video_s3/video_s3.module
+++ b/plugins/video_s3/video_s3.module
@@ -46,7 +46,7 @@ function video_s3_menu() {
*/
function video_s3_cron() {
- $filesystem = variable_get('vid_filesystem', 'drupal');
+ $filesystem = variable_get('video_filesystem', 'drupal');
if ($filesystem == 'video_s3') {
module_load_include('inc', 'video_s3', '/includes/amazon_s3');
$s3 = new video_amazon_s3;
diff --git a/plugins/video_zencoder/transcoders/video_zencoder.inc b/plugins/video_zencoder/transcoders/video_zencoder.inc
index 0979d8f..db447ec 100644
--- a/plugins/video_zencoder/transcoders/video_zencoder.inc
+++ b/plugins/video_zencoder/transcoders/video_zencoder.inc
@@ -247,8 +247,8 @@ class video_zencoder implements transcoder_interface {
*/
public function admin_settings_validate($form, &$form_state) {
$zencoder_api = isset($form_state['values']['video_zencoder_api_key']) ? $form_state['values']['video_zencoder_api_key'] : NULL;
- if (isset($zencoder_api) && !empty($zencoder_api) || $form_state['values']['vid_convertor'] != 'video_zencoder') {
- if (variable_get('vid_filesystem', 'drupal') != 'video_s3') {
+ if (isset($zencoder_api) && !empty($zencoder_api) || $form_state['values']['video_convertor'] != 'video_zencoder') {
+ if (variable_get('video_filesystem', 'drupal') != 'video_s3') {
form_set_error('video_zencoder', t('You must enable the Amazon S3 as !link.', array('!link' => l(t('FileSystem'), 'admin/settings/video/filesystem'))));
}
return;