diff options
author | Heshan Wanigasooriya <heshanmw@gmail.com> | 2011-01-08 05:44:36 +0000 |
---|---|---|
committer | Heshan Wanigasooriya <heshanmw@gmail.com> | 2011-01-08 05:44:36 +0000 |
commit | 42bb65a75da1adb88f07d01677e2b80ee6b59039 (patch) | |
tree | 410dfbc2a1a02e31ba6b25bceb92b6cbf6621d93 /plugins/video_zencoder | |
parent | 60fe72098ba214aa6a6f5860ad8411a7bbb1f8dd (diff) | |
download | video-42bb65a75da1adb88f07d01677e2b80ee6b59039.tar.gz video-42bb65a75da1adb88f07d01677e2b80ee6b59039.tar.bz2 |
Adding namespace to the video module variables
Diffstat (limited to 'plugins/video_zencoder')
-rw-r--r-- | plugins/video_zencoder/transcoders/video_zencoder.inc | 4 |
1 files changed, 2 insertions, 2 deletions
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; |